-
Notifications
You must be signed in to change notification settings - Fork 0
/
OutputBuildProps.props
40 lines (39 loc) · 2.16 KB
/
OutputBuildProps.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
<Project>
<PropertyGroup Label="OutputBuildProps">
<!-- based on https://nietras.com/2021/11/19/bendingdotnet-common-flat-build-output/ -->
<Configuration Condition="$(Configuration) == ''">Debug</Configuration>
<Platform Condition="$(Platform) == ''">AnyCPU</Platform>
<BuildDir>$(MSBuildThisFileDirectory)$(AltCodeTag)Binaries\</BuildDir>
<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)$(AltCodeTag)Intermediate/$(MSBuildProjectName)/$(Configuration)</BaseIntermediateOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)+$(Platform)</IntermediateOutputPath>
<ProjectBuildDirectoryName>$(AltCoverTag)$(MSBuildProjectName)/$(Configuration)+$(Platform)</ProjectBuildDirectoryName>
<OutputPathWithoutEndSlash>$(BuildDir)$(ProjectBuildDirectoryName)</OutputPathWithoutEndSlash>
<OutputPath>$(OutputPathWithoutEndSlash)/</OutputPath>
<KeyDir>$(MSBuildThisFileDirectory)Build\</KeyDir>
<InfrastructureKey>$(KeyDir)Infrastructure.snk</InfrastructureKey>
<DocumentationFile />
<OtherFlags>--keyfile:$(InfrastructureKey)</OtherFlags>
<RollForward>Major</RollForward>
<CheckEolTargetFramework>false</CheckEolTargetFramework>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>$(InfrastructureKey)</AssemblyOriginatorKeyFile>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<DeterministicSourcePaths>false</DeterministicSourcePaths>
<ContinuousIntegrationBuild>false</ContinuousIntegrationBuild>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsAsErrors />
<NoWarn>52</NoWarn>
<Tailcalls>true</Tailcalls>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'!='Debug'">
<DeterministicSourcePaths>true</DeterministicSourcePaths>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
</Project>