Skip to content

Commit b6a99da

Browse files
authored
Suppress NU1504 for now (#309)
1 parent ff1ae46 commit b6a99da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Microsoft.Build.Utilities.ProjectCreation/Microsoft.Build.Utilities.ProjectCreation.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<CopyArtifactsAfterTargets>Pack</CopyArtifactsAfterTargets>
88
<DefaultArtifactsFileMatch>*nupkg</DefaultArtifactsFileMatch>
99
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
10-
<NoWarn>$(NoWarn);RS0026;SA1600</NoWarn>
10+
<!-- Remove NU5104 once System.CodeDom is a stable version for .NET 9 -->
11+
<NoWarn>$(NoWarn);RS0026;SA1600;NU5104</NoWarn>
1112
</PropertyGroup>
1213
<PropertyGroup Label="Package properties">
1314
<PackageId>MSBuild.ProjectCreation</PackageId>
@@ -31,6 +32,7 @@
3132
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" PrivateAssets="All" Condition="'$(OfficialBuild)' != 'true'" />
3233
<PackageReference Include="Microsoft.IO.Redist" Condition="'$(TargetFramework)' == 'net472'" />
3334
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Condition="'$(TargetFramework)' == 'net472'" ExcludeAssets="Runtime" PrivateAssets="All" />
35+
<!-- Remove NU5104 once System.CodeDom is a stable version for .NET 9 -->
3436
<PackageReference Include="System.CodeDom" VersionOverride="9.0.0-rc.2.24473.5" Condition="'$(TargetFramework)' == 'net9.0'" />
3537
<PackageReference Include="System.IO.Compression" Condition="'$(TargetFramework)' == 'net472'" />
3638
<PackageReference Include="System.Text.Json" />

0 commit comments

Comments
 (0)