DSInternals/Src/Configuration/Common.props

39 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- This file contains settings that are common for all projects. -->
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Set default configuration for MSBuild. -->
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
</PropertyGroup>
<!-- Common project output path -->
<PropertyGroup>
<BuildPath>..\..\Build</BuildPath>
<BinPath>$(BuildPath)\bin\$(Configuration)\DSInternals</BinPath>
<ObjPath>$(BuildPath)\obj\$(Configuration)\$(MSBuildProjectName)</ObjPath>
</PropertyGroup>
<!-- Create hard links instead of copying referenced NuGet packages. -->
<PropertyGroup>
<CreateHardLinksIfPossible>true</CreateHardLinksIfPossible>
<CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>true</CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>
<CreateHardLinksForCopyAdditionalFilesIfPossible>true</CreateHardLinksForCopyAdditionalFilesIfPossible>
<CreateHardLinksForCopyLocalIfPossible>true</CreateHardLinksForCopyLocalIfPossible>
<CreateHardLinksForPublishFilesIfPossible>true</CreateHardLinksForPublishFilesIfPossible>
</PropertyGroup>
<PropertyGroup>
<!-- Some crypto API functions are not available in WoW64.-->
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<!-- Signing configuration -->
<PropertyGroup>
<DoSign Condition=" '$(Configuration)'=='Release' ">true</DoSign>
<DoSign Condition=" '$(Configuration)'=='Debug' ">false</DoSign>
<KeyPath>..\..\Keys</KeyPath>
<PublicKeyPath>$(KeyPath)\DSInternals.Public.snk</PublicKeyPath>
<PrivateKeyPath>$(KeyPath)\DSInternals.Private.snk</PrivateKeyPath>
<PerformDelaySign Condition=" !Exists('$(PrivateKeyPath)') ">true</PerformDelaySign>
<PerformDelaySign Condition=" Exists('$(PrivateKeyPath)') ">false</PerformDelaySign>
<SigningKeyPath Condition=" '$(PerformDelaySign)' == 'true' ">$(PublicKeyPath)</SigningKeyPath>
<SigningKeyPath Condition=" '$(PerformDelaySign)' == 'false' ">$(PrivateKeyPath)</SigningKeyPath>
</PropertyGroup>
</Project>