csharpc-sharpdotnetxamlavaloniauicross-platformcross-platform-xamlavaloniaguimulti-platformuser-interfacedotnetcore
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.6 KiB
39 lines
1.6 KiB
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
|
|
<PropertyGroup>
|
|
<TargetFramework>net6.0</TargetFramework>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
<!-- In debug, make builds faster by reducing optimizations -->
|
|
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
|
<WasmNativeStrip>false</WasmNativeStrip>
|
|
<EmccCompileOptimizationFlag>-O1</EmccCompileOptimizationFlag>
|
|
<RunAOTCompilation>false</RunAOTCompilation>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<Optimize>true</Optimize>
|
|
<WasmNativeStrip>true</WasmNativeStrip>
|
|
<EmccCompileOptimizationFlag>-O2</EmccCompileOptimizationFlag>
|
|
<RunAOTCompilation>false</RunAOTCompilation>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.0" />
|
|
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.0" PrivateAssets="all" />
|
|
<PackageReference Include="SkiaSharp" Version="2.88.0-preview.155" />
|
|
<PackageReference Include="SkiaSharp.NativeAssets.WebAssembly" Version="2.88.0-preview.155" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<NativeFileReference Include="libHarfBuzzSharp.a" />
|
|
<NativeFileReference Include="$(SkiaSharpStaticLibraryPath)\2.0.23\libSkiaSharp.a" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Web\Avalonia.Blazor\Avalonia.Blazor.csproj" />
|
|
<ProjectReference Include="..\ControlCatalog\ControlCatalog.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|
|
|