mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
59 lines
3.5 KiB
XML
59 lines
3.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
<Version>1.0.0</Version>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
|
<SelfContained Condition="'$(RuntimeIdentifier)' != ''">true</SelfContained>
|
|
</PropertyGroup>
|
|
|
|
<!-- Keep Release defaults compatibility-first for desktop dependencies (WebView/interop/reflection). -->
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
|
<PublishSingleFile>false</PublishSingleFile>
|
|
<PublishTrimmed>false</PublishTrimmed>
|
|
<PublishReadyToRun>false</PublishReadyToRun>
|
|
<DebugSymbols>false</DebugSymbols>
|
|
<DebugType>none</DebugType>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Models\" />
|
|
<AvaloniaResource Include="Assets\**" />
|
|
<None Include="Localization\*.json" CopyToOutputDirectory="PreserveNewest" />
|
|
<None Include="Extensions\Components\*.json" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\LanMountainDesktop.PluginSdk\LanMountainDesktop.PluginSdk.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia" Version="11.3.12" />
|
|
<PackageReference Include="Avalonia.Desktop" Version="11.3.12" />
|
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.12" />
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.12" />
|
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
|
<PackageReference Include="Avalonia.Diagnostics" Version="11.3.12">
|
|
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
|
|
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
|
|
<PackageReference Include="DotNetCampus.AvaloniaInkCanvas" Version="1.0.1" />
|
|
<PackageReference Include="FluentAvaloniaUI" Version="2.5.0" />
|
|
<PackageReference Include="FluentIcons.Avalonia" Version="2.0.319" />
|
|
<PackageReference Include="FluentIcons.Avalonia.Fluent" Version="2.0.319" />
|
|
<PackageReference Include="Material.Icons.Avalonia" Version="2.4.1" />
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.0" />
|
|
<PackageReference Include="LibVLCSharp.Avalonia" Version="3.9.5" />
|
|
<PackageReference Include="PortAudioSharp2" Version="1.0.6" />
|
|
<PackageReference Include="System.Runtime.WindowsRuntime" Version="4.7.0" />
|
|
<PackageReference Include="System.Drawing.Common" Version="10.0.0" />
|
|
<PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.23" Condition="('$(RuntimeIdentifier)' == '' and $([MSBuild]::IsOSPlatform('Windows')))
 or '$(RuntimeIdentifier)' == 'win-x64'
 or '$(RuntimeIdentifier)' == 'win-x86'" />
|
|
<PackageReference Include="VideoLAN.LibVLC.Mac" Version="3.1.3.1" Condition="('$(RuntimeIdentifier)' == '' and $([MSBuild]::IsOSPlatform('OSX')))
 or '$(RuntimeIdentifier)' == 'osx-x64'" />
|
|
<PackageReference Include="WebView.Avalonia" Version="11.0.0.1" />
|
|
<PackageReference Include="WebView.Avalonia.Desktop" Version="11.0.0.1" />
|
|
<PackageReference Include="YamlDotNet" Version="16.3.0" />
|
|
</ItemGroup>
|
|
</Project>
|