56 lines
2.8 KiB
XML
56 lines
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net9.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- The localization resources are embedded via the ResX item group below, not as Avalonia resources. -->
|
|
<AvaloniaResource Include="Assets\**" Exclude="Assets\Locales\**" />
|
|
</ItemGroup>
|
|
|
|
<!--
|
|
Strongly-typed ResX access is generated with the cross-platform MSBuild generator instead of
|
|
the Visual Studio designer. The files physically live in Assets/Locales, but LogicalName is
|
|
pinned to the project-root-equivalent manifest names so the generated ResourceManager and
|
|
its satellites keep stable, location-independent names.
|
|
-->
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Assets/Locales/Resources.resx">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<StronglyTypedFileName>$(IntermediateOutputPath)Resources.Designer.cs</StronglyTypedFileName>
|
|
<StronglyTypedLanguage>CSharp</StronglyTypedLanguage>
|
|
<StronglyTypedNamespace>YKanBan</StronglyTypedNamespace>
|
|
<StronglyTypedClassName>Resources</StronglyTypedClassName>
|
|
<PublicClass>true</PublicClass>
|
|
<LogicalName>YKanBan.Resources.resources</LogicalName>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Update="Assets/Locales/Resources.zh-Hans.resx">
|
|
<LogicalName>YKanBan.Resources.zh-Hans.resources</LogicalName>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia" Version="11.3.6" />
|
|
<PackageReference Include="Avalonia.Desktop" Version="11.3.6" />
|
|
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.6" />
|
|
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.6" />
|
|
<!--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="CommunityToolkit.Mvvm" Version="8.2.1" />
|
|
<PackageReference Include="Semi.Avalonia" Version="11.2.1.10" />
|
|
<PackageReference Include="IconPacks.Avalonia.Lucide" Version="2.0.0" />
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="9.0.20" />
|
|
<PackageReference Include="Pidgin" Version="3.5.1" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
|
</ItemGroup>
|
|
</Project>
|