-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Build.targets
More file actions
34 lines (29 loc) · 1.27 KB
/
Directory.Build.targets
File metadata and controls
34 lines (29 loc) · 1.27 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
<Project>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<!--
Note: Arcade automatically replaces copyrights defined in .props or .csproj files
with the default Microsoft copyright. To ensure this doesn't happen, the replaced
copyright is restored in this .targets file using the private variable set in .props.
Similarly, both delayed and public signing are disabled to override Arcade's defaults.
-->
<PropertyGroup Label="Workarounds">
<Company>$(Authors)</Company>
<Copyright>$(CopyrightDigillect)</Copyright>
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
</PropertyGroup>
<Choose>
<When Condition="'$(SignAssembly)' == 'false'" />
<When Condition="'$(StrongNameKeyId)' == 'Digillect'">
<PropertyGroup>
<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)eng\Key.snk</AssemblyOriginatorKeyFile>
<PublicKey>$(DigillectPublicKey)</PublicKey>
<PublicKeyToken>$(DigillectPublicKeyToken)</PublicKeyToken>
<DelaySign>false</DelaySign>
<PublicSign>false</PublicSign>
</PropertyGroup>
</When>
</Choose>
</Project>