-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
48 lines (41 loc) · 2.01 KB
/
Directory.Build.props
File metadata and controls
48 lines (41 loc) · 2.01 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
<Project>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<!-- Output paths -->
<BaseOutputPath Condition="'$(BUILD_BINARIESDIRECTORY)' != '' ">$(BUILD_BINARIESDIRECTORY)</BaseOutputPath>
<BaseOutputPath Condition="'$(BaseOutputPath)' == '' ">$(MSBuildThisFileDirectory)Binaries/</BaseOutputPath>
<BaseOutputPath Condition="!HasTrailingSlash('BaseOutputPath')">$(BaseOutputPath)/</BaseOutputPath>
<OutputPath>$(BaseOutputPath)$(Configuration)/$(MSBuildProjectName)/</OutputPath>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<!-- Compiler settings-->
<PropertyGroup>
<LangVersion>11.0</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Disable warning CS1591 ( missing XML documentation comments) -->
<NoWarn>$(NoWarn),1591</NoWarn>
</PropertyGroup>
<!-- SourceLink (https://github.com/dotnet/sourcelink) -->
<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
</ItemGroup>
<!--NuGet package properties -->
<PropertyGroup>
<Authors>Andreas Gruenwald</Authors>
<PackageProjectUrl>https://github.com/cake-contrib/Cake.DotNetLocalTools.Module</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Description>A Cake module to install tools from a .NET local tool manifest</Description>
<Copyright>Copyright (c) 2021-2022, Andreas Gruenwald</Copyright>
<PackageTags>cake;build;cake-build;cake-module</PackageTags>
</PropertyGroup>
<!-- Nerdbank.GitVersioning -->
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.5.119" PrivateAssets="all" />
</ItemGroup>
</Project>