-
Notifications
You must be signed in to change notification settings - Fork 6
/
Directory.Build.props
45 lines (42 loc) · 1.88 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
42
43
44
45
<Project>
<!-- General Metadata -->
<PropertyGroup>
<Title>NXPorts</Title>
<Description>A utility library to add export functions to the output dll on build.</Description>
<Authors>Meik Tranel</Authors>
<Version>1.2.0</Version>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/meiktranel/nxports</PackageProjectUrl>
<RepositoryUrl>https://github.com/meiktranel/nxports.git</RepositoryUrl>
<ReleaseNotesFile>$([MSBuild]::NormalizePath('$(MSBuildThisFileDirectory)','CHANGELOG.md'))</ReleaseNotesFile>
</PropertyGroup>
<!-- Directories etc. -->
<PropertyGroup>
<BaseOutputDirectory>$([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)','out'))</BaseOutputDirectory>
<TestCoverageDirectory>$([MSBuild]::NormalizeDirectory('$(BaseOutputDirectory)','coverage'))</TestCoverageDirectory>
<TestResultsDirectory>$([MSBuild]::NormalizeDirectory('$(BaseOutputDirectory)','testresults'))</TestResultsDirectory>
</PropertyGroup>
<!-- CSProj/Build related settings -->
<PropertyGroup>
<NeutralLanguage>en-US</NeutralLanguage>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<DebugType>embedded</DebugType>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<LangVersion>9</LangVersion>
<PackageOutputPath>$([MSBuild]::NormalizeDirectory('$(BaseOutputDirectory)','packages'))</PackageOutputPath>
</PropertyGroup>
<!-- Customization -->
<PropertyGroup>
<!--
Establish the following kinds of builds:
- dev
- canary
- tagged
These types shall be used to tweak the build further
based on the type of build we are initiating.
-->
<BuildType>$([MSBuild]::ValueOrDefault('$(BuildType)','dev'))</BuildType>
</PropertyGroup>
</Project>