Skip to content

Commit 8764210

Browse files
github-actions[bot]wtgodbeCopilot
authored
[release/10.0] Suppress NuGet vulnerability audit warnings in RepoTasks (#66424)
* Suppress NuGet vulnerability audit warnings in RepoTasks RepoTasks is a build-time MSBuild task project that is not shipped to customers. Suppress NU1901-NU1904 vulnerability audit warnings to unblock the internal CI pipeline, which has been 100% broken for 24+ hours due to a newly published advisory for the transitive dependency System.Security.Cryptography.Xml 8.0.0. Affects main, release/10.0, and internal/release/10.0-nonstable. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Update RepoTasks.csproj --------- Co-authored-by: wigodbe <wigodbe@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5cc26b1 commit 8764210

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

eng/tools/RepoTasks/RepoTasks.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
<TargetLatestDotNetRuntime>false</TargetLatestDotNetRuntime>
1414
<!-- No need to track public APIs of these MSBuild tasks. -->
1515
<AddPublicApiAnalyzers>false</AddPublicApiAnalyzers>
16+
<!-- Keep NuGet vulnerability audit warnings visible for transitive dependencies in this build-time tool without failing the build. -->
17+
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
1618
</PropertyGroup>
1719

1820
<ItemGroup>

0 commit comments

Comments
 (0)