author | ms.author | ms.date | ms.topic |
---|---|---|---|
tdykstra |
tdykstra |
04/04/2024 |
include |
-
-c|--configuration <CONFIGURATION>
Defines the build configuration. If you're developing with the .NET 8 SDK or a later version, the command uses the
Release
configuration by default for projects whose TargetFramework is set tonet8.0
or a later version. The default build configuration isDebug
for earlier versions of the SDK and for earlier target frameworks. You can override the default in project settings or by using this option. For more information, see 'dotnet publish' uses Release configuration and 'dotnet pack' uses Release configuration.