Add-in projects developed in Visual Studio 2010 and ArcObjects .NET 10.1 does not generate the add-in file on Visual Studio 2012 on ArcObject .NET 10.2
上次发布: October 9, 2017ArcGIS for Desktop
漏洞 ID 编号
NIM095643
已提交
October 9, 2013
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
10.2
编程语言
C#
操作系统
Windows OS
操作系统版本
2012 64 Bit
状态
Known Limit
经开发团队审核,已确定此问题与不受 Esri 控制的软件的已知限制有关。 问题的“其他信息”部分可能包含进一步说明。
附加信息
Users must manually change the .csproj file to reference the appropriate targets file as follows:
1. Open the .csProj file in any text editor
2. Search for the tag
3. Replace the entire tag with the below tag -
4. Save the file and build the solution in VS2012. You will see the add-in file has been generated.
Note: This will also be the case going from VS2012 to VS2013 at ArcObjects 10.3.
解决办法
1. Open the .cProj file in Notepad or any text editor.2. Search for the <Import project> tag.3. Replace the entire tag with the tag below: <Import Project="$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.11.targets" Condition="Exists('$(MSBuildExtensionsPath)\ESRI\ESRI.ArcGIS.AddIns.11.targets')" />4. Save the file and build the solution in Visual Studio 2012. The add-in file has been generated.