64 lines
2.3 KiB
XML
64 lines
2.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
|
|
<AssemblyName>SpotXInstaller</AssemblyName>
|
|
<RootNamespace>SpotXInstaller</RootNamespace>
|
|
|
|
<InvariantGlobalization>false</InvariantGlobalization>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="Models\" />
|
|
<AvaloniaResource Include="Assets\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia" Version="12.1.2" />
|
|
<PackageReference Include="Avalonia.Desktop" Version="12.1.2" />
|
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="12.1.2" />
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="12.1.2" />
|
|
|
|
<PackageReference Include="SkiaSharp.NativeAssets.macOS" Version="3.119.4" />
|
|
<PackageReference Include="SkiaSharp.NativeAssets.Win32" Version="3.119.4" />
|
|
|
|
<PackageReference Include="AvaloniaUI.DiagnosticsSupport" Version="2.2.3">
|
|
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
|
|
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
|
</PackageReference>
|
|
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.2" />
|
|
</ItemGroup>
|
|
|
|
<!-- Windows -->
|
|
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'win-x64'">
|
|
<SelfContained>true</SelfContained>
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
|
</PropertyGroup>
|
|
|
|
<!-- Linux -->
|
|
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'linux-x64'">
|
|
<SelfContained>true</SelfContained>
|
|
<PublishSingleFile>true</PublishSingleFile>
|
|
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
|
</PropertyGroup>
|
|
|
|
<!-- macOS:
|
|
НЕ включаем PublishSingleFile.
|
|
Avalonia native libraries должны находиться
|
|
внутри .app bundle. -->
|
|
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'osx-x64'">
|
|
<SelfContained>true</SelfContained>
|
|
<PublishSingleFile>false</PublishSingleFile>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|