Supported platforms
The following subsections highlight development and deployment platform support changes for ArcGIS 10.2. For complete information on supported platforms, along with hardware and software requirements, see System Requirements.
Visual Studio
At ArcGIS 10.2, .NET development using any edition of Visual Studio 2010 or 2012 is supported.
.NET Framework
.NET 3.5 SP1 is a minimum requirement for any .NET development with ArcGIS 10.2. In fact, it is a prerequisite for installing ArcGIS for Desktop and ArcGIS Engine for Windows.
Additionally, you can use and develop against the .NET 4.0 or 4.5 Frameworks. If doing so, you need to install the 4.0/4.5 Framework in addition to 3.5 SP1, since 4.0/4.5 does not include 3.5. For more information on working with .NET 4.0 and 4.5, see .NET 4.0 and 4.5 support for ArcGIS 10.2 Desktop and Engine developers.
Deprecations and removals
The OnContextMenu method signature on the following interfaces was altered to resolve a compatibility issue with the .NET 4 runtime:
- IDocumentEvents
- IGxDocumentEvents
- IGMxDocumentEvents
- ISxDocumentEvents
The new OnContextMenu signature moves the out handled parameter to the return value of the event. The return value should be set to true if the event was handled, and should be set to false if the event was not handled.
Method signature at 10.1
void OnContextMenu(int x, int y, out bool handled)
Method signature at 10.2
bool OnContextMenu(int x, int y)
Assemblies produced prior to this change should continue to run without modification; however, assemblies containing an implementation for this event will need to be modified to conform to the new signature if they are rebuilt using the ArcObjects SDK for .NET shipped with ArcGIS 10.2. To ensure that existing extensions run optimally with newer versions of ArcGIS, Esri recommends that you rebuild existing projects using the ArcObjects SDK associated with the version of ArcGIS you are targeting.