-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
62 lines (52 loc) · 2.21 KB
/
Directory.Build.props
File metadata and controls
62 lines (52 loc) · 2.21 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
57
58
59
60
61
62
<Project>
<PropertyGroup>
<!-- Platform and Configuration might not be defined, eg, when running "dotnet restore" from the command line in a project directory -->
<Platform Condition=" '$(Platform)' == '' ">x64</Platform>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<!-- Define symbols -->
<CAFlag>false</CAFlag>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<CAFlag>true</CAFlag>
</PropertyGroup>
<PropertyGroup>
<RunStyleCopAnalysis>$(CAFlag)</RunStyleCopAnalysis>
<EnableNETAnalyzers>$(CAFlag)</EnableNETAnalyzers>
<RunAnalyzersDuringLiveAnalysis>$(CAFlag)</RunAnalyzersDuringLiveAnalysis>
<RunAnalyzersDuringBuild>$(CAFlag)</RunAnalyzersDuringBuild>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<Optimize>false</Optimize>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<Optimize>true</Optimize>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<!-- Common properties across all projects. Individual projects may override these. -->
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<Platforms>x64</Platforms>
<Configurations>Debug;Release</Configurations>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)stylecop.ruleset</CodeAnalysisRuleSet>
<Company>Microsoft</Company>
</PropertyGroup>
<PropertyGroup>
<!-- Get the directory containing Rexl.sln -->
<RexlDir>$(MSBuildThisFileDirectory)</RexlDir>
<RexlXoutDir>$(RexlDir)xout\</RexlXoutDir>
<!-- Intermediate paths -->
<BaseIntermediateOutputPath>$(RexlXoutDir)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<!-- Output paths -->
<BaseOutputPath>$(RexlXoutDir)bin\$(MSBuildProjectName)\</BaseOutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Nullable)' == '' ">
<Nullable>annotations</Nullable>
</PropertyGroup>
</Project>