|
| 1 | +<Project Sdk="Microsoft.NET.Sdk.Razor"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net6.0-ios;net6.0-android;net6.0-maccatalyst</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks> |
| 6 | + <OutputType>Exe</OutputType> |
| 7 | + <RootNamespace>EventHorizon.Maui.BabylonJS</RootNamespace> |
| 8 | + <UseMaui>true</UseMaui> |
| 9 | + <SingleProject>true</SingleProject> |
| 10 | + <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling> |
| 11 | + |
| 12 | + <!-- Display name --> |
| 13 | + <ApplicationTitle>EventHorizon.Maui.BabylonJS</ApplicationTitle> |
| 14 | + |
| 15 | + <!-- App Identifier --> |
| 16 | + <ApplicationId>com.companyname.EventHorizon.Maui.BabylonJS</ApplicationId> |
| 17 | + |
| 18 | + <!-- Versions --> |
| 19 | + <ApplicationVersion>1</ApplicationVersion> |
| 20 | + |
| 21 | + <!-- Required for C# Hot Reload --> |
| 22 | + <UseInterpreter Condition="'$(Configuration)' == 'Debug'">True</UseInterpreter> |
| 23 | + |
| 24 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-ios'">14.2</SupportedOSPlatformVersion> |
| 25 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">14.0</SupportedOSPlatformVersion> |
| 26 | + <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-android'">21.0</SupportedOSPlatformVersion> |
| 27 | + <SupportedOSPlatformVersion Condition="$(TargetFramework.Contains('-windows'))">10.0.18362.0</SupportedOSPlatformVersion> |
| 28 | + </PropertyGroup> |
| 29 | + |
| 30 | + <ItemGroup> |
| 31 | + <!-- App Icon --> |
| 32 | + <MauiImage Include="Resources\appicon.svg" ForegroundFile="Resources\appiconfg.svg" IsAppIcon="true" Color="#512BD4" /> |
| 33 | + |
| 34 | + <!-- Splash Screen --> |
| 35 | + <MauiSplashScreen Include="Resources\appiconfg.svg" Color="#512BD4" /> |
| 36 | + |
| 37 | + <!-- Images --> |
| 38 | + <MauiImage Include="Resources\Images\*" /> |
| 39 | + |
| 40 | + <!-- Custom Fonts --> |
| 41 | + <MauiFont Include="Resources\Fonts\*" /> |
| 42 | + </ItemGroup> |
| 43 | + |
| 44 | + <ItemGroup Condition="$(TargetFramework.Contains('-windows'))"> |
| 45 | + <!-- Required - WinUI does not yet have buildTransitive for everything --> |
| 46 | + <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.0.0-experimental1" /> |
| 47 | + <PackageReference Include="Microsoft.WindowsAppSDK.Foundation" Version="1.0.0-experimental1" /> |
| 48 | + <PackageReference Include="Microsoft.WindowsAppSDK.WinUI" Version="1.0.0-experimental1" /> |
| 49 | + <PackageReference Include="Microsoft.WindowsAppSDK.InteractiveExperiences" Version="1.0.0-experimental1" NoWarn="NU1701" /> |
| 50 | + <PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.26-experimental1" /> |
| 51 | + </ItemGroup> |
| 52 | + |
| 53 | + <PropertyGroup Condition="$(TargetFramework.Contains('-windows'))"> |
| 54 | + <OutputType>WinExe</OutputType> |
| 55 | + <RuntimeIdentifier>win-x64</RuntimeIdentifier> |
| 56 | + </PropertyGroup> |
| 57 | + |
| 58 | + <ItemGroup> |
| 59 | + <Content Remove="Properties\launchSettings.json" /> |
| 60 | + </ItemGroup> |
| 61 | + |
| 62 | + <ItemGroup> |
| 63 | + <None Include="wwwroot\assets\Animation.gltf" /> |
| 64 | + <None Include="wwwroot\assets\House.gltf" /> |
| 65 | + <None Include="wwwroot\assets\Player.glb" /> |
| 66 | + </ItemGroup> |
| 67 | + |
| 68 | + <ItemGroup> |
| 69 | + <ProjectReference Include="..\_generated\EventHorizon.Blazor.BabylonJS.Server\EventHorizon.Blazor.BabylonJS.Server.csproj" /> |
| 70 | + </ItemGroup> |
| 71 | + |
| 72 | +</Project> |
0 commit comments