8

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 ?

4 Answers 4

19

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.

4
  • 13
    In VS2013 for windows Desktop it is WDExpress.exe Sep 13, 2013 at 10:45
  • @MiguelGamboa, you mean: VS2013 Express For Windows Desktop. Jan 31, 2015 at 22:10
  • VS2013 Express For Windows is VSWinExpress.exe, and VS2013 Express for Web is VWDExpress.exe Jan 31, 2015 at 22:11
  • Also, note the file path will likely be: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE for these VS2013 Express executables (the devenv.exe equivalent) Jan 31, 2015 at 22:15
3

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.

0

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.

6
  • Hm, the thing is that the menu item "Visual Command Prompt" points to "%comspec% /k ""C:\Program Files\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86 " and not an exe , Oct 19, 2011 at 8:44
  • open the batch vcvarsall.bat file and look for the executable.
    – PVitt
    Oct 19, 2011 at 8:46
  • 2
    well i did that, it points me to another series of batch file (like this : if not exist "%~dp0bin\vcvars32.bat" goto missing call "%~dp0bin\vcvars32.bat") and in these files i don't see any devenv.exe mentionned. Oct 19, 2011 at 8:56
  • Have you tried to search that file with windows? Or did a "dir /s devenx.exe" on the command line?
    – PVitt
    Oct 19, 2011 at 9:05
  • 2
    Yup, no result... As i go deeper searching the internet, it seems that devenv is only part of the non express Visual.. Oct 19, 2011 at 9:12
0

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

%dp0%vcsexpress.exe %*

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.