-
Notifications
You must be signed in to change notification settings - Fork 275
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
17 lines (17 loc) · 1.21 KB
/
Copy pathDirectory.Build.props
File metadata and controls
17 lines (17 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!-- SolutionRoot\Directory.Build.props -->
<Project>
<PropertyGroup>
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
<!-- NU1603: transitive package version resolved to higher version (harmless) -->
<!-- NU1901/NU1902/NU1903: vulnerability warnings in transitive System.Security.Cryptography.Xml 10.0.0 (ships with Windows desktop SDK, no fixed version available) -->
<NoWarn>$(NoWarn);NU1603;NU1901;NU1902;NU1903</NoWarn>
<!-- Restore runs a NuGet vulnerability audit that downloads the advisory database from api.nuget.org.
The advisories are suppressed above anyway, so its only effect is a network round-trip on every
restore - measured at 32 s on a slow connection, blocking Rider's build and the editor's runtime compiles. -->
<NuGetAudit>false</NuGetAudit>
<!-- The SDK embeds the git commit into every assembly's InformationalVersion, so each commit regenerates
AssemblyInfo.cs in every project and forces a full solution recompile (~40 s). Only the Editor shows
the hash (About dialog) and opts back in in Editor.csproj. -->
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
</Project>