Browse Source

Add package vulnerability information (#3024)

pull/3043/head
Michel Zehnder 8 months ago
committed by GitHub
parent
commit
88c5ada688
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      NuGet.config
  2. 6
      src/Directory.Build.props

4
NuGet.config

@ -4,4 +4,8 @@
<clear />
<add key="sqlclient" value="https://sqlclientdrivers.pkgs.visualstudio.com/public/_packaging/sqlclient/nuget/v3/index.json" />
</packageSources>
<auditSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
</auditSources>
</configuration>

6
src/Directory.Build.props

@ -64,11 +64,17 @@
<NuGetCmd>$(NuGetRoot)nuget.exe</NuGetCmd>
<!-- Respect environment variable for the .NET install directory if set; otherwise, use the current default location -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>$(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904;NU1905</WarningsNotAsErrors>
<BuildSimulator Condition="'$(BuildSimulator)' != 'true'">false</BuildSimulator>
</PropertyGroup>
<PropertyGroup Condition="'$(BuildSimulator)' == 'true'">
<DefineConstants>$(DefineConstants);ENCLAVE_SIMULATOR</DefineConstants>
</PropertyGroup>
<!-- Audit Settings -->
<PropertyGroup>
<NuGetAuditMode>all</NuGetAuditMode>
</PropertyGroup>
<!-- Packaging for source link-->
<PropertyGroup>

Loading…
Cancel
Save