AnsweredAssumed Answered

Esri .NET tool addin "register assembly" error

Question asked by gdebruin on Feb 29, 2012
Latest reply on Mar 9, 2012 by fabian_1117@hotmail.com
Hello all,

I'm new to programming and, as an introduction, I'm trying to add a tool to existing sample code I took from ESRI, SelectionSample2008. The problem is that it seems if I change anything, even if I change it back perfectly with ctrl-z, the project no longer builds.

I get this error:

Cannot register assembly "H:\AppDev\Visual Studio 2010\Projects\GdBSanitaryFromSelectionAddInSample\bin\Debug\GbdSanitary.dll". Could not load file or assembly 'ESRI.ArcGIS.Desktop.AddIns, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86' or one of its dependencies. The system cannot find the file specified. SelectionSample2008

Can someone please explain to me the nature of this error, or perhaps point me in the direction of a resource, walkthrough or link for adding tools to existing toolbars/extensions?

Any help is greatly appreciated.

Thank you,
cdebruin

Outcomes