Monday, November 24, 2008

Error 9009 in Visual Studio means....

that Visual Studio can not find the executable you specified probably in Pre- or Post-Build command line.

That can have 3 reasons:
1.) There is no PATH environment variable set. You need to include the full path to your executable.
2.) You need to quote the fully qualified path to your executable if the path includes any blanks.
3.) The file really does not exist.

Examples:
SvcUtil.exe parameter1 parameter2 will fail

C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\SvcUtil.exe
parameter1 parameter2 will fail

"C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\SvcUtil.exe"
parameter1 parameter2 will do.

4 comments:

Unknown said...

Thanks a lot, fixed my issue!

Moroni Granja said...

Thanks, that fixed my issue as well.

Anonymous said...

Thanks!

Anonymous said...

Thanks