Repository navigation
Expand file tree
/
Copy pathUpdate-Mono.csproj
More file actions
44 lines (37 loc) · 1.65 KB
/
Copy pathUpdate-Mono.csproj
File metadata and controls
44 lines (37 loc) · 1.65 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
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<TargetFramework>net45</TargetFramework>
<OutputType>Exe</OutputType>
<Description>Update</Description>
<Title>Update</Title>
<ApplicationManifest>app.manifest</ApplicationManifest>
<DefineConstants>$(DefineConstants);MONO</DefineConstants>
</PropertyGroup>
<ItemGroup>
<None Include="rcedit.exe" CopyToOutputDirectory="PreserveNewest" />
<None Include="signtool.exe" CopyToOutputDirectory="PreserveNewest" />
<None Include="update.com" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\vendor\nuget\src\Core\Core.csproj" />
<ProjectReference Include="..\Squirrel\Squirrel.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Splat" Version="1.6.2.0" />
<PackageReference Include="WpfAnimatedGif" Version="1.4.15.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) Microsoft.Web.XmlTransform.dll Splat.dll DeltaCompressionDotNet.dll DeltaCompressionDotNet.MsDelta.dll Squirrel.dll NuGet.Squirrel.dll Mono.Cecil.dll SharpCompress.dll
del "$(TargetFileName)"
ren "$(TargetFileName).tmp" "$(TargetFileName)"
</PostBuildEvent>
</PropertyGroup>
</Project>