Files
ILSpy/Directory.Build.props

28 lines
1.0 KiB
XML

<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>