error NU1900: Warning As Error: Error occurred while getting package vulnerability
Getting a package vulnerability while trying to build a c# application.
The ideal solution would be to update your package in your project. However, there's a workaround there by you can turn nuget auditting off - as shown below with <NugetAudit> block
<PropertyGroup>
<TargetFramework>net6.0</
<ImplicitUsings>enable</
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>True</
<WarningsNotAsErrors></
<NuGetAudit>false</NuGetAudit>
<NoWarn></NoWarn>
</PropertyGroup>
Here is a link that you can get some additional resources
https://learn.microsoft.com/
Comments