Ido Ran
Ido Ran

Reputation: 11404

Why publish .NET Core 2.1 Self-Contained Deployment with Configuration of Release is saved to Debug?

I'm publishing my first .NET core app and I'm trying to do it with self-contained deployment so users can just use the app without installing anything else.

Everything is working ok but when I use this profile enter image description here

I see the following output:

2>App -> C:\Users\ido.ran\Documents\dev\App\bin\Release\netcoreapp2.1\win-x64\ParametersEditor2.dll
2>App -> C:\Users\ido.ran\Documents\dev\App\bin\Debug\netcoreapp2.1\publish\
2>App was published successfully to bin\Debug\netcoreapp2.1\publish\

Why is the deployment published to bin\Debug instead of bin\Release?

Upvotes: 0

Views: 114

Answers (1)

Thangadurai
Thangadurai

Reputation: 2621

The Publish Wizard will publish the files to the selected 'Target Location'.

enter image description here

If you would like to publish it to a different location, just change this location.

Upvotes: 1

Related Questions