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?