Quantcast
Channel: Forums - ArcObjects SDKs
Viewing all articles
Browse latest Browse all 1374

ADF and ADF Local DLL

$
0
0
I need to use ComReleaser, BaseCommand and MxCommand.

The simple solution is to use ESRI.ArcGIS.ADF since it has these classes. However, the compiler complains:

Quote:

The type 'ESRI.ArcGIS.ADF.BaseClasses.BaseCommand' is defined in an assembly that is not referenced. You must add a reference to assembly 'ESRI.ArcGIS.ADF.Local, Version=10.1.0.0, ...
And if I add that reference, it complaints that I have duplicate:
Quote:

The type 'ESRI.ArcGIS.ADF.CATIDs.MxCommands' exists in both 'C:\Program Files (x86)\ArcGIS\DeveloperKit10.1\DotNet\ESRI.ArcGIS.ADF.Local.dll' and 'C:\Program Files (x86)\ArcGIS\DeveloperKit10.1\DotNet\ESRI.ArcGIS.ADF.dll'
How do I resolve this issue? Is there a way to explicitly specify which dll to load the class from?

Please help.

Viewing all articles
Browse latest Browse all 1374

Trending Articles