You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This page indicates that the default configuration value is "Debug", but I removed the Debug configuration from my solution & all projects and my build server happily built using my new "Development" configuration after a simple "dotnet build [solution]". Perhaps that note should instead indicate that dotnet will go with the first config it finds in the solution?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: 910cd365-d63a-00dc-417c-db017f83bf6f
Version Independent ID: 5e495ddd-140e-de5c-a793-d4a9f88be51e
Thank you for opening this issue. I'll add it to the backlog. This does sound like the "default" in this case means when the setting is omitted from the command line, and there is no config defined in the project.
The default configuration is defined by MSBuild and the .NET Core SDK. If not specified elsewhere it will be Debug. However, it is possible to override the default in custom MSBuild logic for your project. So if you don't specify the configuration on the command line it will use whatever the default configuration for your project is, which will typically, but not always, be Debug.
Activity
Thraka commentedon May 31, 2019
Thank you for opening this issue. I'll add it to the backlog. This does sound like the "default" in this case means when the setting is omitted from the command line, and there is no config defined in the project.
@KathleenDollard Please confirm.
Thanks again!
KathleenDollard commentedon Jun 3, 2019
@livarcocc @dsplaisted
mairaw commentedon Jul 26, 2019
@livarcocc @dsplaisted can you comment on this issue?
dsplaisted commentedon Jul 26, 2019
The default configuration is defined by MSBuild and the .NET Core SDK. If not specified elsewhere it will be Debug. However, it is possible to override the default in custom MSBuild logic for your project. So if you don't specify the configuration on the command line it will use whatever the default configuration for your project is, which will typically, but not always, be Debug.
Thraka commentedon Jul 26, 2019
Just to clarify, the searching for the configuration is:
Debug