-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
28 lines (24 loc) · 1.04 KB
/
Copy pathDirectory.Build.props
File metadata and controls
28 lines (24 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<Project>
<PropertyGroup>
<NoWarn>$(NoWarn);NU1510</NoWarn>
</PropertyGroup>
<!-- https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1238 -->
<PropertyGroup>
<CheckSdkVulnerabilities>true</CheckSdkVulnerabilities>
</PropertyGroup>
<PropertyGroup>
<!-- Warnings are errors repo-wide so a clean build stays clean; individual projects can opt
back out (e.g. ICSharpCode.ILSpyCmd sets TreatWarningsAsErrors=false) since project-level
properties override this imported default. -->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<EnableNUnitRunner>true</EnableNUnitRunner>
</PropertyGroup>
<PropertyGroup>
<!-- Generate and honour a packages.lock.json next to every project. The CI NuGet package
cache keys off these lock files; run updatedeps.ps1 to refresh them after changing a
PackageVersion in Directory.Packages.props. -->
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
</Project>