This commit is contained in:
James Newton-King
2016-05-14 16:42:29 +12:00
parent 73dd434d73
commit cdecb70915
3 changed files with 26 additions and 16 deletions
+1 -1
View File
@@ -350,7 +350,7 @@ function Update-Project {
$json = (Get-Content $projectPath) -join "`n" | ConvertFrom-Json
$options = @{"warningsAsErrors" = $true; "xmlDoc" = $true; "keyFile" = $file; "define" = ((GetConstants "dotnet" $sign) -split ";") }
Add-Member -InputObject $json -MemberType NoteProperty -Name "compilationOptions" -Value $options -Force
Add-Member -InputObject $json -MemberType NoteProperty -Name "buildOptions" -Value $options -Force
$json.version = GetNuGetVersion