|
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<OutputType>WinExe</OutputType>
|
|
|
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
|
|
|
<Nullable>enable</Nullable>
|
|
|
|
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
|
|
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
|
|
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
|
|
|
|
<UseWPF>false</UseWPF>
|
|
|
|
|
<UseWindowsForms>false</UseWindowsForms>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<!-- Linux发布配置 -->
|
|
|
|
|
<PropertyGroup Condition="'$(RuntimeIdentifier)' == 'linux-x64'">
|
|
|
|
|
<OutputType>Exe</OutputType>
|
|
|
|
|
<ApplicationManifest></ApplicationManifest>
|
|
|
|
|
<BuiltInComInteropSupport>false</BuiltInComInteropSupport>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<PackageReference Include="Avalonia" Version="11.3.7" />
|
|
|
|
|
<PackageReference Include="Avalonia.Desktop" Version="11.3.7" />
|
|
|
|
|
<PackageReference Include="Avalonia.ReactiveUI" Version="11.3.7" />
|
|
|
|
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.6" />
|
|
|
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.6" />
|
|
|
|
|
<PackageReference Include="DialogHost.Avalonia" Version="0.9.3" />
|
|
|
|
|
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
|
|
|
|
|
<PackageReference Include="Avalonia.Diagnostics" Version="11.3.6">
|
|
|
|
|
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
|
|
|
|
|
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
|
|
|
|
|
</PackageReference>
|
|
|
|
|
<PackageReference Include="HeroIcons.Avalonia" Version="1.0.4" />
|
|
|
|
|
<!-- AvaloniaEdit 代码编辑器 -->
|
|
|
|
|
<PackageReference Include="AvaloniaEdit" Version="0.10.12" />
|
|
|
|
|
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.3.0" />
|
|
|
|
|
<!-- HostBuilder 相关包 -->
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="9.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="9.0.0" />
|
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="9.0.0" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<None Update="appsettings.json">
|
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
|
|
|
</None>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
</Project>
|