No devenv file in Microsoft visual Express 10

二次信任 提交于 2019-11-29 02:10:32
Malorion

I had an issue that needed me to edit devenv.exe.config which doesn't exist in VCExpress and learned in the answer that the name of the exe (and of course it's matching .config file) depends on the version of Visual Studio.

In the "complete" versions of VS such as VSPro the executable you're looking for is indeed devenv.exe but in Express it's vcexpress.exe (or the equivalent for your Express version eg vbexpress.exe for Visual Basic Express etc) so it's not so much that Express doesn't include devenv.exe but that it's called something else and presumably not all command line options under devenv.exe will be available or perform the same as v*express.exe.

Have you ever tried MSBuild? MSDN now recommands using MSBuild instead of devenv. MSBuild seems to come along with VC Express at no cost.

To build a solution with configuration Debug|Win32 using MSBuild:

msbuild xxx.sln /p:Configuration=Debug /p:Platform=Win32

More detailed MSBuild usage is available on MSDN.

devenv.exe is the Visual Studio Shell executable. Just follow your Start Menu link to your Express edition. It should point to your devenv.exe.

Scripts depending on devenv are likely to work if you create a devenv.bat with content

%dp0%vcsexpress.exe %*
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!