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