-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWasmTest.csproj
37 lines (32 loc) · 1.62 KB
/
WasmTest.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<!-- https://github.com/emepetres/dotnet-wasm-sample/blob/main/src/console-native/Wasm.ConsoleNative.Sample.csproj -->
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<LangVersion>10</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EmccFlags>-s FULL_ES3=1</EmccFlags>
<InvariantGlobalization>true</InvariantGlobalization>
<!--<EmccFlags>-s MAX_WEBGL_VERSION=2</EmccFlags>-->
</PropertyGroup>
<PropertyGroup>
<PublishTrimmed Condition="'$(Configuration)' == 'Debug'">false</PublishTrimmed>
<PublishTrimmed Condition="'$(Configuration)' == 'Release'">true</PublishTrimmed>
<BlazorEnableCompression Condition="'$(Configuration)' == 'Debug'">false</BlazorEnableCompression>
<WasmBuildNative>true</WasmBuildNative>
<!-- <RunAOTCompilation>true</RunAOTCompilation>
<AOTMode>LLVMOnly</AOTMode> -->
</PropertyGroup>
<ItemGroup>
<NativeFileReference Include="libEGL.c" ScanForPInvokes="true" />
<NativeFileReference Include="openal32.c" ScanForPInvokes="true" />
</ItemGroup>
<ItemGroup>
<TrimmerRootAssembly Include="Microsoft.AspNetCore.Components.WebAssembly" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Verlite.MsBuild" Version="2.0.1" PrivateAssets="All" />
<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="WaveEngine.Bindings.OpenGLES" Version="1.0.4998" />
</ItemGroup>
</Project>