views:

21

answers:

2

I am trying to compile a sample from ESRI and I get this error

Error 1 The command "esriRegasm.exe CommandInheritingBaseCommand.dll" /p:Desktop /s" exited with code -1.

So somewhere in the project there is a command to invoke esriRegasm.exe, but I can't find it. I right clicked on the project -> properties and looked in Build and Build Events, but it was not there. Where else could it be?

+1  A: 

If you can't find it through Visual Studio, try editing the project file in a text editor and see where it is storing a reference to that executable.

Bernard
A: 

I couldn't find the answer, but I got around the esriRegasm error by developing as "Administrator" in Windows 7 and not as a user.

iterationx