Since several years, i'm using a personnal add-in to vs2008 that launches
itself
with visual studio , read a text file and then set some environment
variables with the help of
Environment.SetEnvironmentVariable(l_variable.name
, l_variable.value);
At runtime , i can access a form in visual studio Tools menu and the
re-define any custom environment variable.
This trick allowed me to define any variable in my c++ projects , for
exemple i could define an include to a third party SDK like
$(XXX_SDK_INCLUDE).
It looks that in vs2010, projects can not see environment variable anymore
if there are defined at visual studio process level , only if defined at
user or system level.
Does anybody have a solution for that ?
Best Regards