Recently I migrated a C++ COM server project from Visual Studio 2008 to Visual Studio 2012. Apparently all went well except the postbuild event, which is
"$(TargetPath)" /RegServer
to register the COM server EXE. It's giving me the following output:
error MSB3073: The command ""D:\MVo\Phoenix2 VS2012\20_SOFTWARE\SRC\Debug\Phoenix2CMM.exe" /RegServer
:VCEnd" terminated with code -2147024891
When the quotation marks are left out, it's exiting with code 9009.
Strang enough, when I run the same statement in the cmd window, no error occurs, regardless of whether it's run as admin or not. The posbuild has not issued a warning or error in VS2008. What's happening?