Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
DeafMan1983 authored May 26, 2022
1 parent f4a6703 commit a3a84d9
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
37 changes: 37 additions & 0 deletions WasmTest.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,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>
25 changes: 25 additions & 0 deletions WasmTest.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31815.197
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WasmTest", "WasmTest.csproj", "{B766EB2D-1B1A-476C-886F-18C68F9A90CD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B766EB2D-1B1A-476C-886F-18C68F9A90CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B766EB2D-1B1A-476C-886F-18C68F9A90CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B766EB2D-1B1A-476C-886F-18C68F9A90CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B766EB2D-1B1A-476C-886F-18C68F9A90CD}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {B6EBF2C3-C9C6-46D2-8AC4-D5691E91AEEF}
EndGlobalSection
EndGlobal

0 comments on commit a3a84d9

Please sign in to comment.