Show More
Commit Description:
Add WASM solution.
Commit Description:
Add WASM solution.
File last commit:
Show/Diff file:
Action:
isometric-park-fna/isometric-park-fna-wasm.csproj
103 lines | 4.6 KiB | text/plain | TextLexer
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<WasmShellMonoRuntimeExecutionMode>InterpreterAndAOT</WasmShellMonoRuntimeExecutionMode>
<WasmShellIndexHtmlPath>index.html</WasmShellIndexHtmlPath>
<LangVersion>8.0</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<UseAppHost>true</UseAppHost>
</PropertyGroup>
<!-- <PropertyGroup> -->
<!-- <BaseIntermediateOutputPath>obj\$(MSBuildisometric&#45;park&#45;fna)</BaseIntermediateOutputPath> -->
<!-- </PropertyGroup> -->
<!-- <Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" /> -->
<!-- <PropertyGroup> -->
<!-- <OutputType>WinExe</OutputType> -->
<!-- <TargetFramework>netcoreapp3.1</TargetFramework> -->
<!-- <TargetName>isometric&#45;park&#45;fna</TargetName> -->
<!-- <!&#45;&#45; <GenerateAssemblyInfo>false</GenerateAssemblyInfo> -->
<!-- <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute> &#45;&#45;> -->
<!-- <LangVersion>8.0</LangVersion> -->
<!-- <!&#45;&#45; <StartupObject>isometric&#45;park&#45;fna.Program</StartupObject> &#45;&#45;> -->
<!-- <AssemblyName>isometric&#45;park&#45;fna</AssemblyName> -->
<!-- <RootNamespace>isometricparkfna</RootNamespace> -->
<!-- <!&#45;&#45; <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch> &#45;&#45;> -->
<!-- <RuntimeIdentifiers>win&#45;x64;osx&#45;x64;linux&#45;x64</RuntimeIdentifiers> -->
<!-- <AllowUnsafeBlocks>true</AllowUnsafeBlocks> -->
<!-- <UseAppHost>true</UseAppHost> -->
<!-- <ApplicationIcon /> -->
<!-- <GenerateAssemblyInfo>false</GenerateAssemblyInfo> -->
<!-- <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute> -->
<!-- </PropertyGroup> -->
<!-- <ItemGroup> -->
<!-- <Content Include="Content\**\*.*"> -->
<!-- <CopyToOutputDirectory>Always</CopyToOutputDirectory> -->
<!-- </Content> -->
<!-- </ItemGroup> -->
<ItemGroup>
<ProjectReference Include="..\SpriteFontPlus\src\SpriteFontPlus.FNA.Core.csproj" />
<ProjectReference Include="..\encompass-cs\encompass-cs\encompass-cs.csproj" />
<ProjectReference Include="..\ImGui.NET\ImGui.NET.Core.csproj">
<GlobalPropertiesToRemove></GlobalPropertiesToRemove>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="Newtonsoft.Json">
<!-- <HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath> -->
</Reference>
<!-- <Reference Include="YamlDotNet" Version="9.1.4"> -->
<!-- <HintPath>..\packages\YamlDotNet.9.1.4\lib\net452\YamlDotNet.dll</HintPath> -->
<!-- </Reference> -->
<!-- <Reference Include="YamlDotNet">
</Reference> -->
<!-- <Reference Include="Tracery.Net"> -->
<!-- <!&#45;&#45; <HintPath>..\packages\Tracery.Net.1.0.0\lib\net452\Tracery.Net.dll</HintPath> &#45;&#45;> -->
<!-- </Reference> -->
</ItemGroup>
<!-- <Import Project="..\build\CopyFNALibs.targets"/> -->
<ItemGroup>
<PackageReference Include="ImGui.NET" Version="1.78.0" />
<PackageReference Include="Tracery.Net" Version="1.0.0" />
<PackageReference Include="YamlDotNet" Version="11.1.1" />
</ItemGroup>
<!-- <Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" /> -->
<Import Project="..\packages\ImGui.NET.1.78.0\build\net40\ImGui.NET.targets" Condition="Exists('..\packages\ImGui.NET.1.78.0\build\net40\ImGui.NET.targets')" />
<!--WASM specifics-->
<ItemGroup>
<LinkerDescriptor Include="LinkerConfig.xml" />
</ItemGroup>
<!-- <ItemGroup> -->
<!-- <Content Include="FAudio.a" /> -->
<!-- <Content Include="FNA3D.a" /> -->
<!-- <Content Include="libmojoshader.a" /> -->
<!-- <Content Include="SDL2.a" /> -->
<!-- </ItemGroup> -->
<ItemGroup>
<PackageReference Include="Uno.Wasm.Bootstrap" Version="2.0.2" />
<PackageReference Include="Uno.Wasm.Bootstrap.DevServer" Version="2.0.2" />
</ItemGroup>
<ItemGroup>
<WasmShellExtraEmccFlags Include="-s MIN_WEBGL_VERSION=2 -s MAX_WEBGL_VERSION=2 --preload-file /home/alys/repos/isometric-park-fna/isometric-park-fna/Content@Content" />
</ItemGroup>
<ItemGroup>
<Content Update="Properties\launchSettings.json">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>
<Target Name="MoveDataFile" AfterTargets="BuildDist">
<Move SourceFiles="$(WasmShellOutputPackagePath)\dotnet.data" DestinationFolder="$(OutDir)dist" />
</Target>
</Project>