* fix: update wasm-tools installation * fix: add TrimmerRootAssembly for WASM optimization * fix: update project to target .NET 10 and adjust deployment settings * fix: add TrimmerRootAssembly for Ursa.Demo to improve WASM optimization * fix: avoid Window based dialog crash on non-supported platforms.
27 lines
829 B
XML
27 lines
829 B
XML
<Project Sdk="Microsoft.NET.Sdk.WebAssembly">
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0-browser</TargetFramework>
|
|
<OutputType>Exe</OutputType>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<AvaloniaResource Include="Assets\**"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<TrimmerRootAssembly Include="Ursa.Demo" />
|
|
<TrimmerRootAssembly Include="Ursa.Demo.Browser" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Avalonia.Browser" Version="$(AvaloniaVersion)"/>
|
|
<PackageReference Include="SkiaSharp.NativeAssets.WebAssembly" Version="3.119.1" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Ursa.Demo\Ursa.Demo.csproj"/>
|
|
</ItemGroup>
|
|
</Project>
|