diff --git a/scripts/BuildAndTest.ps1 b/scripts/BuildAndTest.ps1 index cec7ada62..f6b565161 100644 --- a/scripts/BuildAndTest.ps1 +++ b/scripts/BuildAndTest.ps1 @@ -95,7 +95,7 @@ function Invoke-DotNetBuild($solutionFileRelativePath) { Write-Information "Building $solutionFileRelativePath..." $solutionFilePath = Join-Path $SourceRoot $solutionFileRelativePath - & dotnet build $solutionFilePath --configuration $Configuration --verbosity $BuildVerbosity --no-incremental -bl -p:WarningsAsErrors="MSB3277" /p:EnforceCodeStyleInBuild=true + & dotnet build $solutionFilePath --configuration $Configuration --verbosity $BuildVerbosity --no-incremental -bl /p:EnforceCodeStyleInBuild=true if ($LASTEXITCODE -ne 0) { Exit-WithFailureMessage $ScriptName "Build of $solutionFilePath failed." diff --git a/src/build.props b/src/build.props index 886602f6f..7bd71d19b 100644 --- a/src/build.props +++ b/src/build.props @@ -2,7 +2,10 @@ - 8.0 + latest + Default + latest + true true @@ -18,10 +21,6 @@ 2.1.0 - - latest - latest - @@ -40,10 +39,6 @@ $(MsBuildThisFileDirectory)..\bld\Publish\Nuget\$(Configuration)\ prompt 4 - true - - - NU1901;NU1902;NU1903;NU1904 true + + + true + + + true + + + NU1901;NU1902;NU1903;NU1904 + + + 8 + + @@ -117,10 +137,4 @@ - - - True - Default - latest -