-
Notifications
You must be signed in to change notification settings - Fork 1k
/
SyncReleases.csproj
34 lines (29 loc) · 1.16 KB
/
SyncReleases.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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<TargetFramework>net45</TargetFramework>
<OutputType>Exe</OutputType>
<Description>SyncReleases</Description>
<Title>SyncReleases</Title>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\vendor\nuget\src\Core\Core.csproj" />
<ProjectReference Include="..\Squirrel\Squirrel.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Octokit" Version="0.10.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ILRepack" Version="1.26.0" PrivateAssets="All" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<PostBuildEvent>
cd "$(TargetDir)"
"$(NuGetPackageRoot)ilrepack\1.26.0\tools\ILRepack.exe" /internalize /out:$(TargetFileName).tmp $(TargetFileName) SharpCompress.dll Microsoft.Web.XmlTransform.dll Squirrel.dll Octokit.dll NuGet.Squirrel.dll
del "$(TargetFileName)"
ren "$(TargetFileName).tmp" "$(TargetFileName)"
</PostBuildEvent>
</PropertyGroup>
</Project>