2017-05-25 28 views
0

正確安裝工程時,遇到了錯誤,你可以創建一個加載項項目,而是試圖打造該項目收到此錯誤:試圖建立ArcObjects的項目在VS 2015年

The "ValidateAddInXMLTask" task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Shell.12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Shell.12.0, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at ESRI.ArcGIS.AddIns.SDK.MSBuild.ValidateAddInXMLTask.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.d__26.MoveNext()

enter image description here

回答

0

您可以從下面的鏈接中找到Esri解決此錯誤的解決方案,其中解釋了以下幾點: EsriSupport link

ArcGIS Desktop和Engine加載項對Microsoft Visual Studio Shell 12.0 l ibrary。

使用Visual Studio 2015時沒有此庫會發生此錯誤。

Note: If Visual Studio 2013 and 2015 are both installed on the machine, this problem does not occur. Visual Studio 2013 includes the Microsoft Visual Studio Shell 12.0 library.

在Esri的支持網站上的解決方案表示:

要解決此問題,下載並安裝Microsoft Visual Studio 2013 Shell (Isolated) Redistributable Package

但是,此下載不再可用。

但是,不要擔心,我已上載驅動器上的文件,下面是鏈接下載:

My Drive

相關問題