在ASP.NET Core 3.1应用程序CSProj文件中,我具有以下内容:
<PropertyGroup Condition="'$(Configuration)' == 'development'">
<ConfigurationGroup>Debug</ConfigurationGroup>
</PropertyGroup>
因此,我设置了一个“开发”构建配置,该配置基本上是调试配置。
当我仅使用dotnet build
时,该项目是使用Debug配置构建的。
要使用开发配置,我需要使用dotnet build -c development
。
是否可以将development
配置设置为默认配置,以便由以下人员使用:
dotnet构建