Skip to content

Commit f61b5d0

Browse files
Keith MahoneyKeith Mahoney
authored andcommitted
ignore some warnings
1 parent 251fed3 commit f61b5d0

File tree

6 files changed

+11
-2
lines changed

6 files changed

+11
-2
lines changed

build/PrefastWarnings.ruleset

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
<Rule Id="C26451" Action="None" />
4949
<Rule Id="C26460" Action="Warning" />
5050
<Rule Id="C26461" Action="Warning" />
51-
<Rule Id="C26462" Action="Warning" />
51+
<Rule Id="C26462" Action="None" />
5252
<Rule Id="C26463" Action="Warning" />
5353
<Rule Id="C26464" Action="Warning" />
5454
<Rule Id="C26465" Action="Warning" />
55-
<Rule Id="C26496" Action="Warning" />
55+
<Rule Id="C26496" Action="None" />
5656
<Rule Id="C26497" Action="Warning" />
5757
<Rule Id="C26498" Action="Warning" />
5858
<Rule Id="C26500" Action="Warning" />

dev/dll/Microsoft.UI.Xaml.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<MdMergeNamespaceMergeDepth>3</MdMergeNamespaceMergeDepth>
1212
<ProjectWinMDName>Microsoft.UI.winmd</ProjectWinMDName>
1313
<DependencyPropertyCodeGenOutputDirectory>$(MSBuildThisFileDirectory)..\Generated</DependencyPropertyCodeGenOutputDirectory>
14+
<NoWarn>$(NoWarn);C26496;C26462</NoWarn>
1415
</PropertyGroup>
1516
<Import Condition="'$(Configuration)' == 'Release'" Project="$(MSBuildProjectDirectory)\..\..\PGO.compile.props" />
1617
<Import Condition="'$(PGOBuildMode)' == 'Optimize'" Project="$(MSBuildProjectDirectory)\..\..\tools\MUXPGODatabase\PGO.version.props" />

test/IXMPTestApp/MSTest/IXMPTestApp.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<UnitTestPlatformVersion Condition="'$(UnitTestPlatformVersion)' == ''">$(VisualStudioVersion)</UnitTestPlatformVersion>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
8+
<NoWarn>$(NoWarn);NU1505</NoWarn>
9+
<DisableCheckingDuplicateNuGetItems>true</DisableCheckingDuplicateNuGetItems>
810
</PropertyGroup>
911
<ItemGroup>
1012
<PackageReference Include="MUXCustomBuildTasks">

test/IXMPTestApp/TAEF/IXMPTestApp.TAEF.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
<DefineConstants>$(DefineConstants);USING_TAEF</DefineConstants>
66
<ProjectGuid>{02800516-6BE8-42A9-9665-5446896BB5C5}</ProjectGuid>
77
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
8+
<NoWarn>$(NoWarn);NU1505</NoWarn>
9+
<DisableCheckingDuplicateNuGetItems>true</DisableCheckingDuplicateNuGetItems>
810
</PropertyGroup>
911
<PropertyGroup>
1012
<ProjectGuid>{74F24BC4-794D-4CB2-8420-80FF7FDACFE9}</ProjectGuid>

test/MUXControlsTestApp/MSTest/MUXControlsTestApp.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<GenerateTestArtifacts>True</GenerateTestArtifacts>
1515
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
1616
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
17+
<NoWarn>$(NoWarn);NU1505</NoWarn>
18+
<DisableCheckingDuplicateNuGetItems>true</DisableCheckingDuplicateNuGetItems>
1719
</PropertyGroup>
1820
<ItemGroup>
1921
<PackageReference Include="MUXCustomBuildTasks">

test/MUXControlsTestApp/TAEF/MUXControlsTestApp.TAEF.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<AppxBundle>Never</AppxBundle>
1212
<AppInstallerUpdateFrequency>1</AppInstallerUpdateFrequency>
1313
<AppInstallerCheckForUpdateFrequency>OnApplicationRun</AppInstallerCheckForUpdateFrequency>
14+
<NoWarn>$(NoWarn);NU1505</NoWarn>
15+
<DisableCheckingDuplicateNuGetItems>true</DisableCheckingDuplicateNuGetItems>
1416
</PropertyGroup>
1517
<ItemGroup>
1618
<AppxManifest Include="Package.VS.appxmanifest">

0 commit comments

Comments
 (0)