dotnet publish should default to release mode
See original GitHub issueCurrently it defaults to debug (bad for performance of deployed sites, libraries put on nuget, and apps)
While this is obvious when using dotnet publish
without parameters as it puts it in a Debug folder; it is not obvious when using an output setting as it is put in the output directory without an obvious Debug
moniker
Issue Analytics
- State:
- Created 4 years ago
- Reactions:49
- Comments:25 (19 by maintainers)
Top Results From Across the Web
dotnet publish command - .NET CLI
dotnet publish - Publishes the application and its dependencies to a folder for deployment to a hosting system. Synopsis .NET CLI Copy.
Read more >Set configuration to "Release" when publishing
Create batch/powershell file for the command dotnet publish -c Release. save it into release.cmd and run that when needed.
Read more >What is the difference between release build and publish?
Release applies optimizations to your code which can mess up debugging. This is why by default you have debug and release configurations.
Read more >Dotnet Run Release Mode
Once you completed the testing, you can build it in release mode, using dotnet publish command with release configuration switch. Deployments Modes In.NET ......
Read more >Discover the New Features of .NET 8: What You Need to ...
But now, with the new update, dotnet publish and dotnet pack produce Release assets by default, which means you can easily produce production- ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s not breaking. It’s fixing.
Livar notifications@github.com schrieb am Sa., 29. Juni 2019, 18:26: