Select to view content in your preferred language

ADF or ADF.Local?

1432
4
01-29-2010 07:48 AM
RobertClark
Occasional Contributor
In Beta 1 we had to have ESRI.ArcGIS.ADF AND ESRI.ArcGIS.ADF.Local in our VS projects referenced.  When I loaded the solution after Beta 2 I ended up with a load of ambiguous errors until I removed ESRI.ArcGIS.ADF. 

So what's it to be?  Should we be using ESRI.ArcGIS.ADF or ESRI.ArcGIS.ADF.Local?

If it's the Local namespace then is ESRI removing all the classes that were in the ADF namespace?

Cheers,
Rob
0 Kudos
4 Replies
StefanOffermann
Deactivated User
I am also facing the problem right now. I want to migrate a 9.3.1 Desktop Extension to 9.4 Beta 2 and got the warning from Visual Studio. Whats teh thing between the 2 libs?

Best regards, Stefan
0 Kudos
EagerIp
Deactivated User
The 9.3 types used to be in ESRI.ArcGIS.ADF have been split into ESRI.ArcGIS.ADF.Local (base classes) and ESRI.ArcGIS.ADF.Core (utility functions) at 9.4 beta2.

Also at beta2, ESRI.ArcGIS.ADF is marked as deprecated so you should reference ESRI.ArcGIS.ADF.Local in any new/upgraded project instead when inheriting these .NET base classes. Existing 9.x projects referencing ESRI.ArcGIS.ADF should still compile but it is recommended to move to the .Local assembly instead when upgrading.

See Changes to the ESRI.ArcGIS.ADF assembly  in http://help.esri.com/en/sdk/9.4/ArcObjects_NET/ConceptualHelp/index.htm#/d/0001000002M2000000/

Hope this help.
0 Kudos
StefanOffermann
Deactivated User
The 9.3 types used to be in ESRI.ArcGIS.ADF have been split into ESRI.ArcGIS.ADF.Local (base classes) and ESRI.ArcGIS.ADF.Core (utility functions) at 9.4 beta2. [...]

Hope this help.


Oh yes, thanks
0 Kudos
RobertClark
Occasional Contributor
The 9.3 types used to be in ESRI.ArcGIS.ADF have been split into ESRI.ArcGIS.ADF.Local (base classes) and ESRI.ArcGIS.ADF.Core (utility functions) at 9.4 beta2.

Also at beta2, ESRI.ArcGIS.ADF is marked as deprecated so you should reference ESRI.ArcGIS.ADF.Local in any new/upgraded project instead when inheriting these .NET base classes. Existing 9.x projects referencing ESRI.ArcGIS.ADF should still compile but it is recommended to move to the .Local assembly instead when upgrading.

See Changes to the ESRI.ArcGIS.ADF assembly  in http://help.esri.com/en/sdk/9.4/ArcObjects_NET/ConceptualHelp/index.htm#/d/0001000002M2000000/

Hope this help.


Great thanks for clearing that up.
0 Kudos