vs2015 install arcgis engine incompatible

1. Installation problems




Second, the solution

Open the registry.

Add InstallDir and ShellFolder nodes of type REG_SZ to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\10.0 in the registry. If there is no 10.0 folder, you need to add the folder in the registry first.

The node value of InstallDir is the value of HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\InstallDir.

The value of the ShellFolder node is the value of HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\ShellFolder.

That is, the installation path of vs2015, under Win8 of x64, the default is: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\

This registry value is increased because the installer must be able to read the installation path of vs2010.


vs2013 is in the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\12.0\InstallDir directory. Looking at the Internet, just add the installDIr node == other vs versions and so on

After modification, it can be installed.



3. There is no arcgis template in VS - when VS creates a new project, there is no ArcGis item in the project type

The solution for the template not appearing:

Step 1: Copy the template file to the vs template library. Both my VS and ArcGis are installed on the D drive. During installation, the ArcGis template file is placed in D:\Program Files\Microsoft Visual Studio 14.0\Microsoft Visual Studio 10.0\Common7\ In IDE\ItemTemplates\CSharp and D:\Program Files\Microsoft Visual Studio 14.0\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp, copy the template (ArcGIS folder under the two folders) to the vs2015 template file location : D:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\ItemTemplates\CSharp and D:\Program Files\Microsoft Visual Studio 14.0\Common7\IDE\ProjectTemplates\CSharp.

Step 2: Right-click and run devenv.exe with administrator privileges, which is to start vs2015

Step 3: Reinstall the template (referenced) once, mine is vs2015

Open the command line tools for VS2015 in the following order 

Start --> All Apps --> Microsoft Visual Studio 2015 --> vs2015 Developer Command Prompt (may be called Visual Studio 2015 Command Prompt)

Then execute the following command: 

devenv.exe /InstallVSTemplates 

It should be noted that after this command is executed, the project or item template will not appear immediately, you need to reopen vs2015, and the template will be re-initialized when creating a new one. 

If there is a problem with the third step, run it with administrator privileges instead.

4. There is no ArcGis Windows Forms in the toolbox

Solution one:

第一步:点击工具箱,添加选项卡,命名为ArcGis Windows Forms或者其他你喜欢的名字

第二步,工具箱内右键,选择项,选COM组件

第三步:选中相关控件,打钩然后确定

解法二:

第一步:添加选项卡,命名为ArcGis Windows Forms或者其他你喜欢的名字

第二步:在安装目录的bin下面找到相关的控件,以.ocx为后缀,选中直接拖入工具箱中。


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325781635&siteId=291194637