forked from dotnet/Open-XML-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
41 lines (34 loc) · 1.78 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<!-- Because of the size of the project, to facilitate quick development, by default only single
frameworks will be build. This is customizable with the following possible values:
- DevFramework40: Will only build for .NET 4.0
- DevFramework46: Will only build for .NET 4.6
- DevCore10: Will only build for .NET Core 1.0
- All: Will build for all platforms -->
<ProjectLoadStyle Condition=" '$(ProjectLoadStyle)' == '' ">DevCore10</ProjectLoadStyle>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)\rules.ruleset</CodeAnalysisRuleSet>
<!-- Signing -->
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)DocumentFormat.OpenXml.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<OutputFullPath>$(MSBuildThisFileDirectory)</OutputFullPath>
<OutputDrop Condition=" '$(OutputDrop)' == '' ">$(OutputFullPath)bin\$(Configuration)\</OutputDrop>
<OutputPath>$(OutputDrop)\$(MSBuildProjectName)\</OutputPath>
<BaseIntermediateOutputPath>$(OutputFullPath)obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
</PropertyGroup>
<PropertyGroup>
<IsTestProject Condition=" '$(IsTestProject)' == '' ">false</IsTestProject>
<EnableCodeCoverage Condition=" '$(EnableCodeCoverage)' == '' ">false</EnableCodeCoverage>
<DebugType Condition="$(EnableCodeCoverage)">Full</DebugType>
</PropertyGroup>
</Project>