Select to view content in your preferred language

ArcObjects SDK for Microsoft .NET Framework - Visual Studio 2012

21347
28
09-14-2012 12:12 PM
RichardWatson
Frequent Contributor
I am building a new machine with Windows 8 and Visual Studio 2012.

I want to install "ArcObjects SDK for Microsoft .NET Framework" but it refuses to install because it is looking for Visual Studio 2010 (which I don't want to install).

I understand that 10.1 does not yet support Visual Studio 2012 (or Windows 8).  Just wondering if there is some way that I can get this to install without having to install Visual Studio 2010?  I don't really care about the various Visual Studio templates/wizards, i.e. I know that that won't work.

One thing that I could to is to simply XCopy the files from another machine.
0 Kudos
28 Replies
ToddMacPherson1
New Contributor
We are working on adding support for Visual Studio 2012. More information about this will be made available in the coming months.


Months is unacceptable. This should be a priority with teams working around the clock to provide a solution ASAP.
0 Kudos
mustafaguner
New Contributor
We did install the SDK without VS2010 Express.
Just add the registry key  HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\InstallDir (REG_SZ) with the value "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\" and start the setup for the SDK.

You will see a folder "C:\Program Files (x86)\ArcGIS\DeveloperKit10.1\Microsoft Visual Studio 10.0" (assuming a default ArcGIS 10.1 installation). There you will find the templates, snippets and xml schemas. Just copy these to the corresponding folders of the VS 2012 installation.
The snippets should be registrated in the SnippetsIndex.xml.

Most things seem to work fine with VS 2012, but we have troubles to build Addins:
[ATTACH=CONFIG]18317[/ATTACH]

Has anybody made the same experience? There seems to be a hard dependency on the very old version 2.0.0.0 of the Microsoft.VisualStudio.Shell.9.0.dll.
VS 2012 does not support this old version.

It would be very, very nice if ESRI would support VS 2012.


Hi everyone I am trying integration Arcgis for desktop with Visual Studio 2012 but so far I could not be successful
I have used Arcgis 10.0  first I added  registry path "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0\InstallDir" after that  entered value path to (REG_SZ) of InstallDir and started Arcgis SDK but I have get a framework error....   what I am missing     thanks in advance...
0 Kudos
nicogis
MVP Frequent Contributor
For now the support VS2012 is in ArcGIS Runtime SDK 10.1.1 for WPF ( http://resources.arcgis.com/en/help/system-requirements/10.1/0151/015100000092000000.htm ) and ArcGIS API for JavaScript version 3.(1..3) (http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#api_codeassist)
0 Kudos
RichardWatson
Frequent Contributor
For now the support VS2012 is in ArcGIS Runtime SDK 10.1.1 for WPF ( http://resources.arcgis.com/en/help/system-requirements/10.1/0151/015100000092000000.htm ) and ArcGIS API for JavaScript version 3.(1..3) (http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#api_codeassist)


And ArcGIS API for Silverlight:

http://resources.arcgis.com/en/communities/silverlight-api/

Of course, what we all want to know is when do ArcObjects support it.  Maybe in SP2?
0 Kudos
nicogis
MVP Frequent Contributor
0 Kudos
AlexeiB
Occasional Contributor
I am running VS 2012 and Arc 10.1 SP 1 and am looking into making a desktop tool. At present time I cannot see ArcMap Add-In as per

http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#/Walkthrough_Building_c...

Having read this thread it appears ArcObjects does not support VS 2012. Is this still the case?

Thanks,
0 Kudos
RichardWatson
Frequent Contributor
Yes, it is.  If you require the templates now then you need to install Visual Studio 2010.

My >guess< is that ESRI will add support for Visual Studio 2012 in 10.2.  We should all know the last week of this month at the ESRI Developer Summit.
0 Kudos
KennethMack
New Contributor III
Hi-- I just installed Visual Studio Express 2012.  Trying to get started but now I find this thread.  The last post is March-- any chance VS 2012 is supported now, in mid-May?  Or do I need to download and install 2010.
0 Kudos
RichardWatson
Frequent Contributor
RE: ArcObjects SDK for .NET

10.1 SP1 is the current version and in that version Visual Studio 2012 is not supported.

According to ESRI, 10.2 is scheduled for release in June.  I have not seen any official announcement from ESRI as to whether or not this release will support Visual Studio 2012.
0 Kudos
KennethMack
New Contributor III
Thanks for the reply Richard.  We run 10.1 SP1.  What would you recommend, I'd like to create a custom query form, pretty simple, so a user can query a related table to a feature class for records in a certain date range and a few other fields, and see the resulting features selected on the map, and run a report.

I'd rather not install VS 2010, any other ideas?  Doesn't seem like the kind of thing that python does. 

Thanks,
Kenny
0 Kudos