AnsweredAssumed Answered

Registering an extension (ESRIRegAsm) cannot find assembly

Question asked by stefda on May 29, 2015
Latest reply on Jun 1, 2015 by samie_ug

I am learning to develop ArcMap extensions using ArcObjects for .NET in Visual Studio C# 2010 Express.


To start with, I have successfully compiled the example of implementing a dockable browser window from ESRI website (ArcObjects 10 .NET SDK Help). I have been able to debug the example, add the command from its category to a toolbar in ArcMap and open the browser window. This is when I debug or register the extension with ArcDesktop 10.2.2 which is on my dev machine (I am able to both debug the extension and register the release using the ESRIRegAsm.exe utility).


Now, when I port the extension .dll library to another machine with ArcDesktop 10.1 and try to register the extension I get the following error:


Registration failed.

Could not load file or assembly 'ESRI.ArcGIS.Desktop.Addins,

Version=, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86'

or one of its dependencies. The system cannot find the file specified.


The project doesn't have the Config.esriaddinx file so I don't really know where to look for configuring the build to make this work.


Where should I look for advice?