environment variables - Microsoft Visual Studio 2008: devenv.exe ignores /useenv option -


in microsoft visual studio 2008, want set c++ directories (includes, libraries, etc.) solution (*.sln) command line. until visual studio 2003, i've relied upon /useenv option of devenv.exe, started command line. not seem work on visual studio 2008 professional edition. directories set environment variables include , lib being ignored.

only reference i've found issue here. mentions "external dependencies" section in: tools -> options -> projects & solutions -> vc++ directories. cannot find such section. i've found think "external dependencies" (i'm not sure because i'm running vs2008 translated italian) section in: right click on solution ! properties ! shared properties? ! external dependencies?, such section empty.

i'm running microsoft visual studio 2008 version 9.0.21022.8 rtm , here's batch

set include=c:\programmi\microsoft platform sdk february 2003\include;c:\programmi\microsoft visual studio .net 2003\vc7\atlmfc\include start "devenv.exe" "mysolution.sln" /useenv 

"buildlog.htm" shows instead:

include=c:\boost_1_44_0;c:\programmi\microsoft visual studio 2008 professional\vc\include;c:\programmi\microsoft visual studio 2008 professional\vc\atlmfc\include 

any help? thanks.

i can assure /useenv switch still work. can still build solutions command line, right vs2010, , without stlport (my main reason overriding include , lib paths in first place).

my builds scripts available here - http://www.cix.co.uk/~gort/win32.htm#scripts


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -