visual-studiobuildesrivisual-studio-projectbuild-events

External tool (esriRegasm.exe) fails during build. Where in my VS project is it executed?


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, there must be a command to invoke esriRegasm.exe somewhere in the project, but I cannot find it. I right-clicked on the project → Properties and looked in Build and Build Events tabs, but found nothing there. Where else could it be?


Solution

  • 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.