Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/avalonia-dev. Testing Avalonia
Something went wrong. Try again.
avalonia-dev Jetlag.csproj
1.3 kB · 28 lines
at main
1234567891011121314151617181920212223242526272829<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> <!-- Yes, this is the only thing you need to add to enable NativeAOT --> <!-- To actually compile/publish, just run `dotnet publish -c Release -r <runtime_id_here>` --> <PublishAot>true</PublishAot> </PropertyGroup>
<ItemGroup> <Folder Include="Models\" /> <AvaloniaResource Include="Assets\**" /> </ItemGroup>
<ItemGroup> <PackageReference Include="Avalonia" Version="11.0.10"/> <PackageReference Include="Avalonia.Desktop" Version="11.0.10"/> <PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.10"/> <PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.10"/> <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.--> <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.10"/> <PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.0" /> </ItemGroup></Project>