Skip to content

Commit

Permalink
Suppress NU1504 for now (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffkl authored Oct 21, 2024
1 parent ff1ae46 commit b6a99da
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<CopyArtifactsAfterTargets>Pack</CopyArtifactsAfterTargets>
<DefaultArtifactsFileMatch>*nupkg</DefaultArtifactsFileMatch>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<NoWarn>$(NoWarn);RS0026;SA1600</NoWarn>
<!-- Remove NU5104 once System.CodeDom is a stable version for .NET 9 -->
<NoWarn>$(NoWarn);RS0026;SA1600;NU5104</NoWarn>
</PropertyGroup>
<PropertyGroup Label="Package properties">
<PackageId>MSBuild.ProjectCreation</PackageId>
Expand All @@ -31,6 +32,7 @@
<PackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" PrivateAssets="All" Condition="'$(OfficialBuild)' != 'true'" />
<PackageReference Include="Microsoft.IO.Redist" Condition="'$(TargetFramework)' == 'net472'" />
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Condition="'$(TargetFramework)' == 'net472'" ExcludeAssets="Runtime" PrivateAssets="All" />
<!-- Remove NU5104 once System.CodeDom is a stable version for .NET 9 -->
<PackageReference Include="System.CodeDom" VersionOverride="9.0.0-rc.2.24473.5" Condition="'$(TargetFramework)' == 'net9.0'" />
<PackageReference Include="System.IO.Compression" Condition="'$(TargetFramework)' == 'net472'" />
<PackageReference Include="System.Text.Json" />
Expand Down

0 comments on commit b6a99da

Please sign in to comment.