Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Solution-wide environment variables

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
leinad Posted - Feb 12 2007 : 2:50:52 PM
I'm working on a solution with over 30 projects in it, and are using environment variables to change compilation properties, like the paths of some libraries and headers.

Since I'm setting these variables with My Computer->Properties->Advanced->Environment Variables, I need to restart Visual Studio whenever I want to compile with different env. vars.

For example, I have set the Configuration Properties/General/Linker/Output File to "C:\\_usr\\$(PluginVersion)\\Helper.dll" in the Property Page of a project, and "C:\\App\\Main$(PluginVersion)\\include" in IDE-wide Options/Projects And Solutions/VC++ Directories/ Show Directories for Include files because the Helper.dll is a plugin for "Main1.0" or "Main1.5".

I think it would be great if Visual Assist would add a some type of interface where Visual Studio environment variables could be added and changed without needing to restart the IDE.

Or is there already a way to define solution wide environment variables whose settings have immediate effects from within VS?

Sorry for that bad English.

Sincerely,
Daniel
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 13 2007 : 07:41:03 AM
Which IDE are you using? There is the concept of Property Pages in VS2005 that should do what you want:

http://msdn2.microsoft.com/en-us/library/a4xbdz1e.aspx

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000