[UnrealVS] - enable warnings as errors

#review-17163679 @ben.marsh
#rb ben.marsh

[CL 17186213 by andrew firth in ue5-main branch]
This commit is contained in:
andrew firth
2021-08-16 23:24:10 -04:00
parent 6aefc3524f
commit 401b9801a3
2 changed files with 3 additions and 1 deletions
@@ -180,6 +180,7 @@
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<NoWarn>MSB3277;NU1603</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
@@ -97,7 +97,7 @@
<Resource Include="Resources\BatchBuilderBackground.png" />
<Resource Include="Resources\Icon.ico" />
<Content Include="..\ReleaseNotes.txt">
<Visible>false</Visible>
<Visible>false</Visible>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX>
</Content>
@@ -190,6 +190,7 @@
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
<CopyVsixExtensionFiles>False</CopyVsixExtensionFiles>
<NoWarn>MSB3277</NoWarn>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<Target Name="IncludeNuGetPackageReferences" AfterTargets="GetVsixSourceItems">
<ItemGroup>