How to save run configurations - Visual Studio Mac

Viewed 1040

I am developing an asp.net application on macOS with Visual Studio for Mac, and I can specify a custom run configuration.

There seems to be no way to specify a run profile, where all arguments and settings in the custom configuration are saved, instead of reentering command line arguments every time.

Is there a way to do this easily in VS for Mac? Or is that feature not available yet...

1 Answers

No, unfortunately you can't save it but there is workaround for this. You get the args in the main, just change it to your configuration and put it to code when you need it.

string[] args = new[] {..}

Related