mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
78 lines
2.5 KiB
XML
78 lines
2.5 KiB
XML
<Project Sdk="Uno.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFrameworks>
|
|
net8.0-maccatalyst;
|
|
net8.0-windows10.0.19041;
|
|
net8.0-desktop;
|
|
</TargetFrameworks>
|
|
|
|
<OutputType>Exe</OutputType>
|
|
<UnoSingleProject>true</UnoSingleProject>
|
|
|
|
<VelopackPushOnPublish>true</VelopackPushOnPublish>
|
|
<VelopackPackId>Velopack.UnoSample</VelopackPackId>
|
|
|
|
<!-- Display name -->
|
|
<ApplicationTitle>UnoSample</ApplicationTitle>
|
|
<!-- App Identifier -->
|
|
<ApplicationId>com.velopack.UnoSample</ApplicationId>
|
|
<!-- Versions -->
|
|
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
|
|
<ApplicationVersion>1</ApplicationVersion>
|
|
<!--
|
|
If you encounter this error message:
|
|
|
|
error NETSDK1148: A referenced assembly was compiled using a newer version of Microsoft.Windows.SDK.NET.dll.
|
|
Please update to a newer .NET SDK in order to reference this assembly.
|
|
|
|
This means that the two packages below must be aligned with the "build" version number of
|
|
the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number
|
|
must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref.
|
|
-->
|
|
<!-- <WindowsSdkPackageVersion>10.0.22621.28</WindowsSdkPackageVersion> -->
|
|
|
|
<!--
|
|
UnoFeatures let's you quickly add and manage implicit package references based on the features you want to use.
|
|
https://aka.platform.uno/singleproject-features
|
|
-->
|
|
<UnoFeatures>
|
|
Material;
|
|
Dsp;
|
|
Hosting;
|
|
Toolkit;
|
|
Logging;
|
|
Mvvm;
|
|
Configuration;
|
|
Http;
|
|
Serialization;
|
|
Localization;
|
|
Navigation;
|
|
ThemeService;
|
|
</UnoFeatures>
|
|
</PropertyGroup>
|
|
|
|
<!--
|
|
Disables the auto-generated Main method so that we can add in the Velopack calls at startup.
|
|
-->
|
|
<!--<PropertyGroup Condition="'$(TargetFramework)'=='net8.0-windows10.0.19041'">
|
|
<DefineConstants>$(DefineConstants);DISABLE_XAML_GENERATED_MAIN</DefineConstants>
|
|
</PropertyGroup>-->
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="System.Private.Uri" />
|
|
<PackageReference Include="System.Text.Json" />
|
|
<PackageReference Include="Velopack" />
|
|
<PackageReference Include="Velopack.Build">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Platforms\Windows\Program.cs">
|
|
<Sdk>Uno</Sdk>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
</Project>
|