Make Release the default run configuartion
See original GitHub issueRather than debug
So if someone types dotnet run
it is in release mode; if you run it in a debugger it can be Debug mode. If you run it as dotnet run --configuration Debug
it can be in debug mode if you want to attach a debugger later; but by default it should be dotnet run --configuration Release
Else people will get the wrong idea about the performance or forget to use --configuration Release
Issue Analytics
- State:
- Created 8 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Create and edit run/debug configurations | Android Studio
To change this default, open Android Studio settings, and change Advanced Settings > Run/Debug > Temporary configurations limit. For more information about ...
Read more >Visual Studio - how to change default build configuration ...
I believe the build configurations are listed alphabetically, and the first one is always selected when starting a new project.
Read more >Set debug and release configurations in Visual Studio
In the Configuration list, choose Debug or Release. In the side pane, choose Linker > Debugging, then select options for Generate Debug Info....
Read more >Run/debug configurations | IntelliJ IDEA Documentation
Configure the default values for a template From the main menu, select Run | Edit Configurations. Alternatively, press Alt Shift F10 , then...
Read more >Run/debug configurations | JetBrains Rider Documentation
From the main menu, select Run | Edit Configurations. Alternatively, press Ctrl Alt Shift 0R , then 00 . · Select the run/debug...
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 Free
Top 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
Maybe just publish then? (If its not the default as @GuardRex suggests)
@piotrpMSFT Hi 👋 can you please elaborate on what you mean by this:
do you mean that there’s a setting in your csproj files or something?