devenv command line build question

Hello all,

I am currently using a script to build my project, the script is something like
 
devenv.exe mySolution.sln /Rebuild "Release|Win32" /Project "my project"


This is working out great, and I am hoping to expand on it. What I want to do is pass an environment variable or some kind of switch to specify the language. In other words, I would like pass a project setting as a parameter of my command.

Any help would be greatly appreciated.

FYI: I have already read http://msdn.microsoft.com/en-us/library/xee0c8y7(v=vs.80).aspx and I couldn't find anythign useful
It doesn't appear that DevEnv supports this functionality.

I only have VC2008, so haven't tried the following. But if you use VS2010, you might be able to switch to using MSBuild.

See : "devenv and #define"
http://stackoverflow.com/questions/6389923/devenv-and-define
Topic archived. No new replies allowed.