Installing Arcengine in a VisualStudio2012 environment 10.0

Source: Internet
Author: User
Tags visual studio 2010

Because the ArcEngine10.0 default corresponding development tool is VS2010, install ArcEngine10.0 with VS2012 installed ( Note: My own environment for VS2012 and ArcEngine10.0, for other versions in theory equally feasible, interested can try ), will appear as shown in the prompt, Arcobject SDK for the Microsoft. NET Framework requires a supported editon of Microsoft Visual Studio 2010 ...

If we install a lower version of VS, can be upgraded or hit the SP patch to solve, there is a corresponding solution on the Internet, no longer explained here. For the high-version vs we installed, here's the solution:

Open the registry, and in the registry, add
The Hkey_local_machine\software\wow6432node\microsoft\visualstudio\10.0\installdir (type REG_SZ) entry and assigns a value of

The value of the Hkey_local_machine\software\wow6432node\microsoft\visualstudio\11.0\installdir.

This value is typically: drive letter: \program Files (x86) \arcgis\developerkit10.1\microsoft Visual Studio 10.0, where the drive letter is the path where you install vs. My native path is "D:\Program Files (x86) \arcgis\developerkit10.1\microsoft Visual Studio 10.0".

After you have modified the registry, you will be able to install Arcengine without any previous prompts.

I'm a gorgeous split-line----------------------------------------------------------------------------------------------------------------- ---------------

After the Arcengine installation is complete, we also need to import the missing Arcengine template and the Toolbox in VS2012:

Because of the ArcGIS engine 10.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 projects or add Windows (classes, etc.) in VS2012 do not have ArcGIS templates, and there are missing instances of the ArcGIS toolbar.

1, ArcGIS Template missing solution:

first, after installing ArcGIS engine 10.0, the Microsoft Visual Studio 10.0 folder is automatically generated under the engine's installation directory. We will folder the Common7\ide\itemtemplates\csharp\arcgis folder and Common7\ide\projecttemplates\csharp\ The ArcGIS folder is copied to the folder that corresponds to the VS2012 installation location. I have a D-plate, so D:\Program Files\Microsoft Visual Studio11.0\common7\ide\itemtemplates\csharp and D:\Program, respectively. Files\Microsoft Visual Studio 11.0\common7\ide\projecttemplates\csharp.
Then, locate the devenv.exe file in the location of the installation disk, my location is D:\Program Files\Microsoft Visual Studio11.0\common\ide\devenv.exe, right-click the file Select Properties- Run this program as an administrator. Open the developer command prompt for VS2012 in the following order: Start-and-All Programs-->microsoft visual Studio---visual StudioTools--VS 2012 Developer Commands Input devenv.exe/installvstemplates command, enter. That's it.

2. Workaround for ArcGIS Control toolbar missing:

Add the appropriate controls for ArcGIS manually to the toolbar by right-clicking.

Installing Arcengine in a VisualStudio2012 environment 10.0

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.