Question

i am trying to build the google dart project on windows XP.

following the installation documentation, i ran accross a problem. The python script needs to call devenv. The problem is that with Visual 10 Express, i don't have this exe which should be in

C:\\Program Files (x86)\\Microsoft Visual Studio 10.0\\Common7\\IDE  

Where can i get this exe ? Do i need to download a prior version that visual 10 ?

Was it helpful?

Solution

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.

OTHER TIPS

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 %*
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top