File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <ManagePackageVersionsCentrally >true</ManagePackageVersionsCentrally >
44 <CentralPackageFloatingVersionsEnabled >true</CentralPackageFloatingVersionsEnabled >
5+ <!-- https://learn.microsoft.com/en-us/nuget/concepts/auditing-packages -->
6+ <NuGetAudit >true</NuGetAudit >
7+ <NuGetAuditMode >all</NuGetAuditMode >
8+ <!-- https://learn.microsoft.com/en-us/nuget/reference/errors-and-warnings/nu1901-nu1904 -->
9+ <WarningsAsErrors >NU1901;NU1902;NU1903;NU1904</WarningsAsErrors >
510 </PropertyGroup >
611 <ItemGroup >
712 <PackageVersion Condition =" '$(TargetFramework)'=='net8.0'" Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 8.0.11" />
Original file line number Diff line number Diff line change 11<Project >
22 <Import Project =" $([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
3- <PropertyGroup >
3+ <PropertyGroup >
4+ <NuGetAuditMode >direct</NuGetAuditMode >
45 <GenerateDocumentationFile >true</GenerateDocumentationFile >
56 <NoWarn >$(NoWarn);1591</NoWarn >
67 <PackageReadmeFile >README.md</PackageReadmeFile >
You can’t perform that action at this time.
0 commit comments