-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
23 lines (22 loc) · 1.14 KB
/
Directory.Build.props
File metadata and controls
23 lines (22 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Project>
<PropertyGroup>
<DefaultItemExcludes>*log</DefaultItemExcludes>
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
<LangVersion>Latest</LangVersion>
<BaseArtifactsPath>$(MSBuildThisFileDirectory)artifacts\</BaseArtifactsPath>
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
<RestoreEnablePackageSourceMapping>false</RestoreEnablePackageSourceMapping>
<NoWarn>$(NoWarn);NU5128;SA0001;NU1507</NoWarn>
<!--
Disabling static graph restore due to a bug related to NuGetAuditSuppress.
See: https://github.com/NuGet/Home/issues/14300
-->
<RestoreUseStaticGraphEvaluation>false</RestoreUseStaticGraphEvaluation>
<RestoreSerializeGlobalProperties>true</RestoreSerializeGlobalProperties>
<UseArtifactsOutput>false</UseArtifactsOutput>
<IsTestProject Condition="$(MSBuildProjectName.EndsWith('UnitTests'))">true</IsTestProject>
<IsPackable Condition="'$(IsTestProject)' != 'true'">true</IsPackable>
<!-- Suppress spam about using a preview version of .NET -->
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
</PropertyGroup>
</Project>