-
Notifications
You must be signed in to change notification settings - Fork 10
/
Directory.Build.props
27 lines (25 loc) · 1.21 KB
/
Directory.Build.props
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
<!--
Customize your build: https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2022.
See more MSBuild properties here: https://learn.microsoft.com/en-us/visualstudio/msbuild/common-msbuild-project-properties?view=vs-2022.
-->
<Project>
<PropertyGroup>
<!--
Sets up property "Treat warnings as errors" found in Visual Studio project -> Properties -> Build.
-->
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!--
Sets up property "Language version" found in Visual Studio project -> Properties -> Build -> Advanced.
-->
<LangVersion>11.0</LangVersion>
<!--
Fix issue: "error NU1403: Package content hash validation failed for ..." occurring when restoring NuGet
packages when using lock files.
See more about the fix here: https://github.com/NuGet/Home/issues/7921#issuecomment-478152479.
-->
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode>true</RestoreLockedMode>
<NoWarn>NU1603</NoWarn>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
</PropertyGroup>
</Project>