Select to view content in your preferred language

Cannot build AddIn - The "MakeEaz" task failed unexpectedly.

2968
5
08-21-2012 02:31 PM
JamesNyberg
Deactivated User
Since I installed AGX2012, I have not been able to build an AGX AddIn project. I get the following error.

Error: 5 The "MakeEaz" task failed unexpectedly.

System.IO.FileNotFoundException: Could not load file or assembly 'ESRI.ArcGIS.Utilities.Compression.dll' or one of its dependencies. The specified module could not be found. File name: 'ESRI.ArcGIS.Utilities.Compression.dll'

at ESRI.ArcGISExplorer.DevTools.MSBuild.MakeEaz.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()




  • NOTE: I have uninstalled AGX2012, AGX1750, and AGX1750 SDK, and re-installed the AGX1750 and AGX1750 SDK. So, everything should be fresh, except for a few registry entries for AGX2012 that remain.


  • I have verified that the MakeEAZ task defined in the ESRI.ArcGISExplorer.targets file still points to "ESRI.ArcGISExplorer.DevTools.MSBuild.dll" for the task.


  • It appears like the MSBuild assembly is looking for the compression assembly to make the EAZ, but it cannot find it. The file is in the directory, and its version and date are valid from the 1750 SDK.




Are there any recommendations that anyone can make which will allow me to get my AGX Addin to build again?
0 Kudos
5 Replies
JamesNyberg
Deactivated User
I cannot build the EAZ in 2500 now either.  Just installed 2500, get the same build failure.  Has anyone been able to build an EAZ with AGX 2500?  I am using VS2010.
0 Kudos
JerryGarcia
Frequent Contributor
I cannot build the EAZ in 2500 now either.  Just installed 2500, get the same build failure.  Has anyone been able to build an EAZ with AGX 2500?  I am using VS2010.


Can someone on the ArcGIS Explorer Team please respond?  Thanks!
0 Kudos
JerryGarcia
Frequent Contributor
Can someone on the ArcGIS Explorer Team please respond? Thanks!
0 Kudos
MarkBockenhauer
Esri Regular Contributor
Jerry,

I need to research this.

I can build Add-ins with Visual Studio 2010 and ArcGIS Explorer 2500.
At this time I do not know what causes the problem explained in this forum post.

-mark
0 Kudos
JohnNowlin
Deactivated User
I cannot build the EAZ in 2500 now either.  Just installed 2500, get the same build failure.  Has anyone been able to build an EAZ with AGX 2500?  I am using VS2010.


We built an add-in post AGX 2500 install. .. using  Visual C# Express 2010 SP1

Here was what i had to do to get everything to work right:

Installed AGX 2500

Uninstall the AGX SDK (that came out with 1500)

Uninstall Visual Studio SP1

Installed both Visual C# & Visual Basic 2010 Express

Reinstalled Visual Studio SP1

Install AGX SDK

then all was well. . .

Best Regards,
jnowlin
0 Kudos