MSbuild doesn't expand environment variables -


i'm using msbuild build solution file command line. in it, path vcxproj file specified environment variable foo %foo%\projname.vcxproj

when open sln in ide, project found , loaded. when use msbuild command line (on same machine) error of:

the project file "c:\blah\blah\%foo%\projname.vcxproj" not found, 

in same command prompt

echo %foo%   

gives me correctly expanded path.

from comments; known bug , wontfix ms. ended writing batch file copy sln file , expand environment variables, build that, , delete new sln. works fine.


Comments

Popular posts from this blog

ubuntu - How to disable Kernel Module Signing in linux -

java - Ebean enhancement ignores a model -

How to combine associative arrays in bash? -