-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathCommon.Directory.Build.props
More file actions
56 lines (46 loc) · 1.88 KB
/
Copy pathCommon.Directory.Build.props
File metadata and controls
56 lines (46 loc) · 1.88 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<RestoreLockedMode Condition="'$(ContinuousIntegrationBuild)' == 'true'" />
</PropertyGroup>
<PropertyGroup>
<UseArtifactsOutput>true</UseArtifactsOutput>
<ArtifactsPath>$(MSBuildThisFileDirectory).artifacts</ArtifactsPath>
</PropertyGroup>
<!-- https://aka.ms/vs-build-acceleration -->
<PropertyGroup>
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>
<ItemGroup>
<!-- <BuildAccelerationIncompatiblePackage Include="" /> -->
</ItemGroup>
<PropertyGroup Label="Common Debug Settings">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
<StripSymbols>false</StripSymbols>
</PropertyGroup>
<PropertyGroup>
<!-- Language Features -->
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
<!-- Restore Behavior -->
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<!-- Compiler Options -->
<Deterministic>true</Deterministic>
<!-- Analyzer Options -->
<AnalysisLevel>preview</AnalysisLevel>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<Features>strict</Features>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release' or '$(ContinuousIntegrationBuild)' == 'true'">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<InvariantGlobalization>true</InvariantGlobalization>
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
</PropertyGroup>
</Project>