AnsweredAssumed Answered

Issues with ArcObjects .Net plugin in VS 2015

Question asked by gspirido on Dec 16, 2015
Latest reply on Jun 6, 2016 by KGalliher-esristaff

The install works correctly, you can create an addin project, but trying to build the project receives this error:

 

Severity    Code    Description    Project    File    Line

Error        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.<ExecuteInstantiatedTask>d__26.MoveNext()

 

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].    RoadCondSurveyTool       

 

Seems the plugin is attempting to run the build process through vs2013 shell instead of 2015. It should work if you have vs2013 and 2015 installed on the same machine (why it might work on your dev machines) but with just 2015, it won't build.

Outcomes