MBulli / SmartCommandlineArgs

A Visual Studio Extension which aims to provide a better UI to manage your command line arguments
GNU General Public License v2.0
99 stars 35 forks source link

Is there a way to set a "solution level" env var that is inherited by ALL projects? #156

Open dbgarlisch opened 1 year ago

dbgarlisch commented 1 year ago

Is there a way to set a "solution level" env var that is inherited by ALL projects? I did not see anything in the GUI.

Is there a way to hand edit the json file to accomplish this?

Not a big deal, just wondering.

USE CASE:

I always set _NO_DEBUG_HEAP=1 on every EXE project to speed up memory operations while debugging. Right now I must duplicate that ENV for each EXE project.

Our solution includes several EXE projects. The "root" EXE project launches these subproject, helper EXEs as needed. However, for debugging, these subprojects can be set as the startup project and debugged stand-alone. This was the motivation for my original per-project ENV support. Each EXE has its own ENV settings.

ruifig commented 2 months ago

First of all, thank you for creating this extension.

Is this feature something that is planned? I'm in the same situation. I have a bunch of executables in the solution, and being able to share some parameters would be great.

Irame commented 1 month ago

I currently don't have much time to work on this, but feel free to pick it up and create a pull request. On the other hand I now know that at least 2 people need it, which motivates me a bit more to do it if I got some time. :)