|
|
|
|
|
<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-park-fna)</BaseIntermediateOutputPath> -->
|
|
|
<!-- </PropertyGroup> -->
|
|
|
<!-- <Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" /> -->
|
|
|
<!-- <PropertyGroup> -->
|
|
|
<!-- <OutputType>WinExe</OutputType> -->
|
|
|
<!-- <TargetFramework>netcoreapp3.1</TargetFramework> -->
|
|
|
<!-- <TargetName>isometric-park-fna</TargetName> -->
|
|
|
<!-- <!-- <GenerateAssemblyInfo>false</GenerateAssemblyInfo> -->
|
|
|
<!-- <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute> --> -->
|
|
|
<!-- <LangVersion>8.0</LangVersion> -->
|
|
|
<!-- <!-- <StartupObject>isometric-park-fna.Program</StartupObject> --> -->
|
|
|
<!-- <AssemblyName>isometric-park-fna</AssemblyName> -->
|
|
|
<!-- <RootNamespace>isometricparkfna</RootNamespace> -->
|
|
|
<!-- <!-- <TargetLatestRuntimePatch>true</TargetLatestRuntimePatch> --> -->
|
|
|
<!-- <RuntimeIdentifiers>win-x64;osx-x64;linux-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"> -->
|
|
|
<!-- <!-- <HintPath>..\packages\Tracery.Net.1.0.0\lib\net452\Tracery.Net.dll</HintPath> --> -->
|
|
|
<!-- </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>
|
|
|
|