Workarounds for missing ArcGIS templates in VS2012

Source: Internet
Author: User

Because of the ArcGIS10.0 (for. NET) is using VS2010 as the development tool by default, so after installing VS2012 ArcGIS10.0 desktop version and Arcobjects SDK for the Microsoft.NET framework, New items in VS2012 or add Windows (classes, etc.) are not ArcGIS templates. Here's how to fix it:

1. Installing ArcGIS10.0 will automatically generate C:\Program Files\Microsoft Visual Studio 10.0 folder, and the Common7\ide\itemtemplates\csharp\ in the folder The ArcGIS folder and the Common7\ide\projecttemplates\csharp\arcgis folder are copied to the folder corresponding to the VS2012 installation location, and I have the D drive, so it is D:\Program files\ Microsoft Visual Studio11.0\common7\ide\itemtemplates\csharp and D:\Program Files\Microsoft Visual Studio 11.0\common7\ Ide\projecttemplates\csharp.

2. Locate the devenv.exe file in the location of the installation disk, my location is D:\Program Files\Microsoft Visual Studio11.0\common7\ide\ devenv.exe, right-click the file, select Properties----Compatibility---Run this program as an administrator.

3. Open the developer command prompt for VS2012 in the following order:

Start-All Programs--Microsoft visual Studio--visual StudioTools--VS 2012 developer Command Prompt

Enter the devenv.exe/installvstemplates command, carriage return. That's it.

Workarounds for missing ArcGIS templates in VS2012

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.