This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Directory.Build.props
34 lines (27 loc) · 1.77 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
<Project>
<PropertyGroup Label="Build Default">
<MySolutionDir>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)))</MySolutionDir>
<MyBuildDir>$(MySolutionDir)\bld</MyBuildDir>
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
<Platform Condition="'$(Platform)'==''">AnyCPU</Platform>
<Configuration Condition="'$(Configuration)'==''">Debug</Configuration>
<Deterministic>true</Deterministic>
<SolutionDir Condition="'$(SolutionDir)'=='' Or $(SolutionDir) == '*Undefined*'">$(MySolutionDir)</SolutionDir>
<MSBuildProjectExtensionsPath>$(MyBuildDir)\msbuild\$(MSBuildProjectName)\</MSBuildProjectExtensionsPath>
<BaseOutputPath>$(MyBuildDir)\bin\</BaseOutputPath>
<BaseIntermediateOutputPath>$(MyBuildDir)\obj\</BaseIntermediateOutputPath>
</PropertyGroup>
<PropertyGroup Label="AssemblyInfo">
<!-- See: https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#generateassemblyinfo -->
<Authors>Patrick Sollberger</Authors>
<Copyright>Copyright (c) Patrick Sollberger</Copyright>
<IncludeSourceRevisionInInformationalVersion>true</IncludeSourceRevisionInInformationalVersion>
<NeutralLanguage>en</NeutralLanguage>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<RestoreLockedMode Condition="'$(ContinuousIntegrationBuild)' == 'true'">true</RestoreLockedMode>
<VersionSuffix Condition="'$(Configuration)' == 'Debug'">dev</VersionSuffix>
<VersionSuffix Condition="'$(VersionSuffix)' == '' And '$(VcsBranch)' != '' And '$(VcsBranch)' != 'main'">$(VcsBranch)</VersionSuffix>
<SourceRevisionId Condition="'$(VcsRevisionId)' != ''">$(VcsRevisionId)</SourceRevisionId>
</PropertyGroup>
</Project>