JacobCoble

ArcObjects Samples - No new objects added when adding the .tlb file

Discussion created by JacobCoble on Aug 4, 2011
Latest reply on Aug 5, 2011 by Neil
I have been working with some of the .NET Samples and ArcScripts. I am not able to run some .NET projects in ArcMap or ArcCatalog.

Suppose I am working on a .NET sample called "MyNewProject" and to run the tool in ArcMap, I try to import the "MyNewProject.tlb" file. I get a message box saying "No new objects added" and the .NET project does not run in ArcMap. When I try to add "MyNewProject.dll" I get the message "Can't load type library from specified file" and I cannot run the tool as a .dll in ArcMap either. For some projects, I add the .tlb or the .dll file and everything works fine, for other projects, I get the problems mentioned above.

Does anyone know what could be wrong?

Outcomes