|
1 |
| -<Project Sdk="Microsoft.NET.Sdk"> |
2 |
| - |
3 |
| - <PropertyGroup> |
4 |
| - <OutputType>WinExe</OutputType> |
5 |
| - <TargetFramework>net6.0-windows</TargetFramework> |
6 |
| - <Nullable>enable</Nullable> |
7 |
| - <UseWPF>true</UseWPF> |
8 |
| - <ApplicationIcon>eesast_software_trans_enlarged.ico</ApplicationIcon> |
9 |
| - </PropertyGroup> |
10 |
| - |
11 |
| - <ItemGroup> |
12 |
| - <None Remove="Logo.png" /> |
13 |
| - </ItemGroup> |
14 |
| - |
15 |
| - <ItemGroup> |
16 |
| - <PackageReference Include="CommandLineParser" Version="2.9.1" /> |
17 |
| - <PackageReference Include="FrameRateTask" Version="1.2.0" /> |
18 |
| - <PackageReference Include="Google.Protobuf" Version="3.23.3" /> |
19 |
| - <PackageReference Include="Grpc" Version="2.46.6" /> |
20 |
| - <PackageReference Include="Grpc.Core" Version="2.46.6" /> |
21 |
| - </ItemGroup> |
22 |
| - |
23 |
| - <ItemGroup> |
24 |
| - <ProjectReference Include="..\..\dependency\proto\Protos.csproj" /> |
25 |
| - <ProjectReference Include="..\..\playback\Playback\Playback.csproj" /> |
26 |
| - <ProjectReference Include="..\Preparation\Preparation.csproj" /> |
27 |
| - </ItemGroup> |
28 |
| - |
29 |
| - <ItemGroup> |
30 |
| - <Resource Include="Logo.png" /> |
31 |
| - </ItemGroup> |
32 |
| - |
33 |
| -</Project> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net7.0-android;net7.0-ios;net7.0-maccatalyst</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net7.0-windows10.0.19041.0</TargetFrameworks> |
| 6 | + <!-- Uncomment to also build the tizen app. You will need to install tizen by following this: https://github.com/Samsung/Tizen.NET --> |
| 7 | + <!-- <TargetFrameworks>$(TargetFrameworks);net7.0-tizen</TargetFrameworks> --> |
| 8 | + <OutputType>Exe</OutputType> |
| 9 | + <RootNamespace>Client</RootNamespace> |
| 10 | + <UseMaui>true</UseMaui> |
| 11 | + <SingleProject>true</SingleProject> |
| 12 | + <ImplicitUsings>enable</ImplicitUsings> |
| 13 | + |
| 14 | + <!-- Display name --> |
| 15 | + <ApplicationTitle>Client</ApplicationTitle> |
| 16 | + |
| 17 | + <!-- App Identifier --> |
| 18 | + <ApplicationId>com.companyname.client</ApplicationId> |
| 19 | + <ApplicationIdGuid>872eca96-e290-4365-952b-f5e5b16e7217</ApplicationIdGuid> |
| 20 | + |
| 21 | + <!-- Versions --> |
| 22 | + <ApplicationDisplayVersion>1.0</ApplicationDisplayVersion> |
| 23 | + <ApplicationVersion>1</ApplicationVersion> |
| 24 | + |
| 25 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">11.0</SupportedOSPlatformVersion> |
| 26 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> |
| 27 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 28 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
| 29 | + <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
| 30 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
| 31 | + </PropertyGroup> |
| 32 | + |
| 33 | + <ItemGroup> |
| 34 | + <!-- App Icon --> |
| 35 | + <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" /> |
| 36 | + |
| 37 | + <!-- Splash Screen --> |
| 38 | + <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" /> |
| 39 | + |
| 40 | + <!-- Images --> |
| 41 | + <MauiImage Include="Resources\Images\*" /> |
| 42 | + <MauiImage Update="Resources\Images\dotnet_bot.svg" BaseSize="168,208" /> |
| 43 | + <MauiImage Include="Resources\Images\eesast_logo_32x32.png" /> |
| 44 | + <MauiImage Include="Resources\Images\eesast_software_trans_enlarged_256x256.png" /> |
| 45 | + |
| 46 | + <!-- Custom Fonts --> |
| 47 | + <MauiFont Include="Resources\Fonts\*" /> |
| 48 | + |
| 49 | + <!-- Raw Assets (also remove the "Resources\Raw" prefix) --> |
| 50 | + <MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" /> |
| 51 | + </ItemGroup> |
| 52 | + |
| 53 | + |
| 54 | + <ItemGroup> |
| 55 | + <PackageReference Include="Google.Protobuf" Version="3.24.4" /> |
| 56 | + <PackageReference Include="Grpc" Version="2.46.6" /> |
| 57 | + <PackageReference Include="Grpc.Tools" Version="2.54.0"> |
| 58 | + <PrivateAssets>all</PrivateAssets> |
| 59 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 60 | + </PackageReference> |
| 61 | + <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" /> |
| 62 | + </ItemGroup> |
| 63 | + |
| 64 | + |
| 65 | + <ItemGroup> |
| 66 | + <Compile Update="MainPage.xaml.cs"> |
| 67 | + <DependentUpon>MainPage.xaml</DependentUpon> |
| 68 | + </Compile> |
| 69 | + <Compile Update="Map.xaml.cs"> |
| 70 | + <DependentUpon>Map.xaml</DependentUpon> |
| 71 | + </Compile> |
| 72 | + <Compile Update="GameStatusBar.xaml.cs"> |
| 73 | + <DependentUpon>GameStatusBar.xaml</DependentUpon> |
| 74 | + </Compile> |
| 75 | + <Compile Update="PlayerStatusBar.xaml.cs"> |
| 76 | + <DependentUpon>PlayerStatusBar.xaml</DependentUpon> |
| 77 | + </Compile> |
| 78 | + </ItemGroup> |
| 79 | + |
| 80 | + |
| 81 | + <ItemGroup> |
| 82 | + <MauiXaml Update="Map.xaml"> |
| 83 | + <Generator>MSBuild:Compile</Generator> |
| 84 | + </MauiXaml> |
| 85 | + <MauiXaml Update="GameStatusBar.xaml"> |
| 86 | + <Generator>MSBuild:Compile</Generator> |
| 87 | + </MauiXaml> |
| 88 | + <MauiXaml Update="PlayerStatusBar.xaml"> |
| 89 | + <Generator>MSBuild:Compile</Generator> |
| 90 | + </MauiXaml> |
| 91 | + </ItemGroup> |
| 92 | + |
| 93 | + <ItemGroup> |
| 94 | + <ProjectReference Include="..\..\dependency\proto\Protos.csproj" /> |
| 95 | + </ItemGroup> |
| 96 | + |
| 97 | +</Project> |
0 commit comments