Files
LanMountainDesktop/LanMountainDesktop/LanMountainDesktop.csproj

85 lines
5.1 KiB
XML
Raw Normal View History

2026-03-04 19:16:51 +08:00
<Project Sdk="Microsoft.NET.Sdk">
2026-02-26 23:08:19 +08:00
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<Version>1.0.0</Version>
<ApplicationManifest>app.manifest</ApplicationManifest>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
2026-03-04 19:16:51 +08:00
<SelfContained Condition="'$(RuntimeIdentifier)' != ''">true</SelfContained>
2026-02-26 23:08:19 +08:00
</PropertyGroup>
2026-03-05 12:34:39 +08:00
<!-- Keep Release defaults compatibility-first for desktop dependencies (WebView/interop/reflection). -->
2026-03-04 19:16:51 +08:00
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
2026-03-05 12:34:39 +08:00
<PublishSingleFile>false</PublishSingleFile>
<PublishTrimmed>false</PublishTrimmed>
<PublishReadyToRun>false</PublishReadyToRun>
2026-03-04 19:16:51 +08:00
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
</PropertyGroup>
2026-02-26 23:08:19 +08:00
<ItemGroup>
<Folder Include="Models\" />
<AvaloniaResource Include="Assets\**" />
2026-02-28 04:23:28 +08:00
<None Include="Localization\*.json" CopyToOutputDirectory="PreserveNewest" />
2026-02-28 12:30:16 +08:00
<None Include="Extensions\Components\*.json" CopyToOutputDirectory="PreserveNewest" />
2026-02-26 23:08:19 +08:00
</ItemGroup>
2026-03-09 12:27:33 +08:00
<ItemGroup>
<ProjectReference Include="..\LanMountainDesktop.PluginSdk\LanMountainDesktop.PluginSdk.csproj" />
2026-03-11 06:38:11 +08:00
<ProjectReference Include="..\LanMountainDesktop.PluginsInstallHelper\LanMountainDesktop.PluginsInstallHelper.csproj"
ReferenceOutputAssembly="false" />
2026-03-09 12:27:33 +08:00
</ItemGroup>
2026-02-26 23:08:19 +08:00
<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" />
2026-03-03 04:56:04 +08:00
<PackageReference Include="DotNetCampus.AvaloniaInkCanvas" Version="1.0.1" />
2026-03-10 21:25:47 +08:00
<PackageReference Include="Downloader" Version="4.1.1" />
2026-02-27 13:43:27 +08:00
<PackageReference Include="FluentAvaloniaUI" Version="2.5.0" />
2026-02-28 03:00:25 +08:00
<PackageReference Include="FluentIcons.Avalonia" Version="2.0.319" />
2026-03-01 00:34:07 +08:00
<PackageReference Include="FluentIcons.Avalonia.Fluent" Version="2.0.319" />
2026-03-14 22:45:09 +08:00
<PackageReference Include="Material.Avalonia" Version="3.13.4" />
2026-03-04 20:58:17 +08:00
<PackageReference Include="Material.Icons.Avalonia" Version="2.4.1" />
2026-03-14 23:52:26 +08:00
<PackageReference Include="ClassIsland.Markdown.Avalonia" Version="11.0.3.4" />
2026-03-12 09:22:03 +08:00
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="10.0.0" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.0" />
2026-02-28 03:00:25 +08:00
<PackageReference Include="LibVLCSharp.Avalonia" Version="3.9.5" />
<PackageReference Include="PortAudioSharp2" Version="1.0.6" />
2026-03-15 17:08:07 +08:00
<PackageReference Include="MaterialColorUtilities" Version="0.3.0" />
<PackageReference Include="System.Runtime.WindowsRuntime" Version="4.7.0" />
2026-03-01 00:34:07 +08:00
<PackageReference Include="System.Drawing.Common" Version="10.0.0" />
<PackageReference Include="VideoLAN.LibVLC.Windows" Version="3.0.23" Condition="('$(RuntimeIdentifier)' == '' and $([MSBuild]::IsOSPlatform('Windows')))&#xA; or '$(RuntimeIdentifier)' == 'win-x64'&#xA; or '$(RuntimeIdentifier)' == 'win-x86'" />
<PackageReference Include="VideoLAN.LibVLC.Mac" Version="3.1.3.1" Condition="('$(RuntimeIdentifier)' == '' and $([MSBuild]::IsOSPlatform('OSX')))&#xA; 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" />
2026-02-26 23:08:19 +08:00
</ItemGroup>
2026-03-11 06:38:11 +08:00
<Target Name="CopyPluginsInstallHelperToOutput" AfterTargets="Build">
<ItemGroup>
<PluginsInstallHelperFiles Include="..\LanMountainDesktop.PluginsInstallHelper\bin\$(Configuration)\net10.0\**\*.*" />
</ItemGroup>
<Copy SourceFiles="@(PluginsInstallHelperFiles)"
DestinationFiles="@(PluginsInstallHelperFiles->'$(OutDir)PluginsInstallHelper\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />
</Target>
<Target Name="CopyPluginsInstallHelperToPublish" AfterTargets="Publish" Condition="'$(PublishDir)' != ''">
<ItemGroup>
<PluginsInstallHelperPublishFiles Include="..\LanMountainDesktop.PluginsInstallHelper\bin\$(Configuration)\net10.0\**\*.*" />
</ItemGroup>
<Copy SourceFiles="@(PluginsInstallHelperPublishFiles)"
DestinationFiles="@(PluginsInstallHelperPublishFiles->'$(PublishDir)PluginsInstallHelper\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />
</Target>
2026-02-26 23:08:19 +08:00
</Project>