-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props.template
24 lines (20 loc) · 1.68 KB
/
Directory.Build.props.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Project>
<PropertyGroup>
<BuildCommonBaseDir>$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildThisFileDirectory)', 'BuildMarker.txt'))</BuildCommonBaseDir>
<BuildCommonBaseDir Condition=" '$(BuildCommonBaseDir)' == '' ">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)/../../'))</BuildCommonBaseDir>
<BuildCommonOutputDir Condition=" '$(BuildCommonOutputDir)' == '' ">$(BuildCommonBaseDir)\BuildTarget\</BuildCommonOutputDir>
<BaseIntermediateOutputPath>$(BuildCommonOutputDir)\$(Configuration)\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<BaseOutputPath>$(BuildCommonOutputDir)\$(Configuration)\bin\$(MSBuildProjectName)\</BaseOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)</IntermediateOutputPath>
<OutputPath>$(BaseOutputPath)</OutputPath>
<PackageOutputPath>$(BuildCommonOutputDir)\$(Configuration)\bin\</PackageOutputPath>
<RestoreOutputPath>$(BaseIntermediateOutputPath)</RestoreOutputPath>
<NuspecOutputPath>$(BaseIntermediateOutputPath)pack\</NuspecOutputPath>
<CIPropsFilePath Condition=" '$(IsCIBuild)' == 'true' ">$([MSBuild]::GetPathOfFileAbove('CISupport.props'))</CIPropsFilePath>
</PropertyGroup>
<PropertyGroup Condition=" '$(IsCIBuild)' == 'true' ">
<AssemblyOriginatorKeyFilePath>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)/../../secrets/assembly_key.snk'))</AssemblyOriginatorKeyFilePath>
<AssemblyOriginatorKeyFile Condition="Exists('$(AssemblyOriginatorKeyFilePath)')">$(AssemblyOriginatorKeyFilePath)</AssemblyOriginatorKeyFile>
<SignAssembly Condition=" '$(AssemblyOriginatorKeyFile)' != '' ">true</SignAssembly>
</PropertyGroup>
</Project>