-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathPayload.Windows.csproj
72 lines (62 loc) · 2.52 KB
/
Payload.Windows.csproj
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<Project>
<!-- Implicit SDK props import -->
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\shared\Git-Credential-Manager\Git-Credential-Manager.csproj" />
<ProjectReference Include="..\Atlassian.Bitbucket.UI.Windows\Atlassian.Bitbucket.UI.Windows.csproj" />
<ProjectReference Include="..\GitHub.UI.Windows\GitHub.UI.Windows.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudioEng.MicroBuild.Core" Version="1.0.0">
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<FilesToSign Include="
$(OutDir)Atlassian.Bitbucket.dll;
$(OutDir)Atlassian.Bitbucket.UI.exe;
$(OutDir)git-credential-manager-core.exe;
$(OutDir)GitHub.dll;
$(OutDir)GitHub.UI.exe;
$(OutDir)Microsoft.AzureRepos.dll;
$(OutDir)gcmcore.dll;
$(OutDir)gcmcoreui.dll;
$(OutDir)gcmcoreuiwpf.dll;">
<Authenticode>Microsoft400</Authenticode>
<InProject>false</InProject>
</FilesToSign>
</ItemGroup>
<!-- Implicit SDK targets import (so we can override the default targets below) -->
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<!-- Check all the files to sign exist -->
<Target Name="ValidateSigningDependencies"
AfterTargets="PrepareForRun"
Inputs="@(FilesToSign)"
Outputs="$(OutDir)validatesign.timestamp">
<Error Text="File to sign not found: %(FilesToSign.Identity)"
Condition="!Exists('%(FilesToSign.Identity)')" />
<WriteLinesToFile File="$(OutDir)validatesign.timestamp"
Lines="@(FilesToSign)"
Overwrite="true" />
</Target>
<!-- We don't want to produce a binary with this project -->
<Target Name="CoreCompile" />
<!-- We only want to copy the dependent projects' outputs; no binary is produced for this project -->
<Target Name="CopyFilesToOutputDirectory"
DependsOnTargets="
ComputeIntermediateSatelliteAssemblies;
_CopyFilesMarkedCopyLocal;
_CopySourceItemsToOutputDirectory;
_CopyAppConfigFile;
_CopyManifestFiles;
_CheckForCompileOutputs;
_SGenCheckForOutputs" />
<Target Name="CoreClean">
<RemoveDir Directories="$(ProjectOutPath)" />
</Target>
</Project>