|
2 | 2 | <Project Sdk="Microsoft.NET.Sdk">
|
3 | 3 | <PropertyGroup>
|
4 | 4 | <TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
|
5 |
| - <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net6.0-windows10.0.19041.0</TargetFrameworks> |
| 5 | + <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))"> |
| 6 | + $(TargetFrameworks);net6.0-windows10.0.19041.0</TargetFrameworks> |
6 | 7 | <OutputType>Exe</OutputType>
|
7 | 8 | <RootNamespace>Contoso.MAUI.Demo</RootNamespace>
|
8 | 9 | <UseMaui>true</UseMaui>
|
|
15 | 16 | <!-- App Identifier -->
|
16 | 17 | <ApplicationId>com.microsoft.appcenter.Contoso.MAUI.Demo</ApplicationId>
|
17 | 18 | <ApplicationIdGuid>d7a06185-3470-4ae9-8a6f-27a861f146b2</ApplicationIdGuid>
|
18 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> |
19 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">14.0</SupportedOSPlatformVersion> |
20 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
21 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
22 |
| - <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
23 |
| - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
| 19 | + <SupportedOSPlatformVersion |
| 20 | + Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">14.2</SupportedOSPlatformVersion> |
| 21 | + <SupportedOSPlatformVersion |
| 22 | + Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'"> |
| 23 | + 14.0</SupportedOSPlatformVersion> |
| 24 | + <SupportedOSPlatformVersion |
| 25 | + Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
| 26 | + <SupportedOSPlatformVersion |
| 27 | + Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'"> |
| 28 | + 10.0.17763.0</SupportedOSPlatformVersion> |
| 29 | + <TargetPlatformMinVersion |
| 30 | + Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'"> |
| 31 | + 10.0.17763.0</TargetPlatformMinVersion> |
| 32 | + <SupportedOSPlatformVersion |
| 33 | + Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
24 | 34 | <Configurations>Debug;Release;GooglePlay</Configurations>
|
25 | 35 | </PropertyGroup>
|
26 | 36 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GooglePlay|AnyCPU' ">
|
|
34 | 44 | <NoWarn></NoWarn>
|
35 | 45 | <NoStdLib>false</NoStdLib>
|
36 | 46 | </PropertyGroup>
|
| 47 | + <PropertyGroup |
| 48 | + Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'"> |
| 49 | + <RuntimeIdentifier>iossimulator-x64</RuntimeIdentifier> |
| 50 | + <ForceSimulatorX64ArchitectureInIDE>true</ForceSimulatorX64ArchitectureInIDE> |
| 51 | + </PropertyGroup> |
37 | 52 | <ItemGroup>
|
38 | 53 | <!-- App Icon -->
|
39 |
| - <MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" /> |
| 54 | + <MauiIcon Include="Resources\AppIcon\appicon.svg" |
| 55 | + ForegroundFile="Resources\AppIcon\appiconfg.svg" Color="#512BD4" /> |
40 | 56 | <!-- Splash Screen -->
|
41 | 57 | <MauiSplashScreen Include="Resources\Splash\splash.svg" Color="#512BD4" BaseSize="128,128" />
|
42 | 58 | <!-- Images -->
|
|
0 commit comments