mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
40 lines
1.3 KiB
XML
40 lines
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net48</TargetFramework>
|
|
<LangVersion>latest</LangVersion>
|
|
|
|
<!--
|
|
NU1902: Vulnerable, obsolete packages ar eintentionally used as this is a demonstration of an old app
|
|
-->
|
|
<NoWarn>$(NoWarn);NU1902</NoWarn>
|
|
<!--<UseClowd>2.11.1</UseClowd>-->
|
|
<!--<UseClowd>3.0.210-*</UseClowd>-->
|
|
<!--<UseVelopack>0.0.84</UseVelopack>-->
|
|
</PropertyGroup>
|
|
|
|
<Choose>
|
|
<When Condition=" $(UseClowd) != '' or $(UseVelopack) != '' ">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<DefineConstants Condition="$(UseClowd) != ''">CLOWD</DefineConstants>
|
|
<DefineConstants Condition="$(UseVelopack) != ''">VELOPACK</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition=" $(UseClowd) != '' ">
|
|
<PackageReference Include="Clowd.Squirrel" Version="$(UseClowd)" />
|
|
<None Update="LegacyTestApp.exe.squirrel" CopyToOutputDirectory="Always" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition=" $(UseVelopack) != '' ">
|
|
<PackageReference Include="Velopack" Version="$(UseVelopack)" />
|
|
</ItemGroup>
|
|
</When>
|
|
<Otherwise>
|
|
<ItemGroup>
|
|
<PackageReference Include="squirrel.windows" Version="2.0.1" />
|
|
</ItemGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
|
|
</Project>
|