开发者

devenv.com is not a valid win32 application?

Currently, when I attempt to run Visual Studio2010 co开发者_如何学JAVAmmand line build the solution directly like this

D:\SVN\projects\Solution>"c:\program files (x86)\Micro
soft Visual Studio 10.0\Common7\IDE\devenv.com" MySln.sln /build debug

I keep getting an error like

Failed to execute build: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com" (in directory "D:\SVN\projects\Solution"): CreateProcess error=193, %1 is not a valid Win32 application

Any ideas how to fix this ?


OK - I think this is because of a corrupted devenv.com file - I checked it and it has a 0KB size and was only recently edited [even though I installed VS2010 back in March when the devenv.exe was "last modified"

Restored from a system image - devenv.com should be around 6-7KB - all works :)

Thanks for the help!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜