coapp / coapp.powershell

ClrPlus Signing
52 stars 43 forks source link

Define an environment variable for running from Visual Studio #92

Open gordonwatts opened 10 years ago

gordonwatts commented 10 years ago

The C++ library I am packaging up requires a set of datafiles. It uses an environment variable to get at them. I've created an autopkg file that correctly copies the files into the $(TargetDir). Is there a way to automate the environment variable definition?

gordonwatts commented 10 years ago

This can be accessed via the UI by looking at the properties of the project, selecting the "Debuging" pane and then updating the environment variable entry. This does not modify the project file, however. It modifies the user settings file (which is not checked into source control normally). However it would seem that Visual Studio 2013 (at least) only reads that file before starting the app when you click "start".