Overriding publish settings for .NET Core app?

Answered

I'm trying to set up a custom publish configuration, but I can't locate anywhere in the IDE to do such a thing.

I seem to only be able to 'Publish Selected Projects,' without any control over the process. Specifically, I want to set some additional CLI arguments that are passed to 'dotnet publish'.

Any ideas?

1 comment
Comment actions Permalink

1. Open "Run/Debug Configurations" dialog (Run -> Edit configurations)

2. Add new "Before launch" configuration

3. Specify a path to dotnet executable, needed parameters and a working directory

 

0

Please sign in to leave a comment.