How do I set environment variables in Visual Studio 2012?
For example, I need to set this:
$(MyDir) = "c:\my_dir"
Open the project in a text editor, and into the top existing tag add
<PropertyGroup>
<MyDir>c:\my_dir</MyDir>
...(leave existing ones here)...
</PropertyGroup>
There's probably some way to do this in the UI, but I only ever edit the files by hand nowadays. And its a different UI for every language(!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With