|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 | | - <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))"> |
| 3 | + <!--<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))"> |
4 | 4 | <TargetFrameworks>net9.0;net9.0-android</TargetFrameworks> |
5 | 5 | </PropertyGroup> |
6 | 6 |
|
7 | 7 | <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))"> |
8 | 8 | <TargetFrameworks>net9.0;net9.0-android;net9.0-windows10.0.19041.0</TargetFrameworks> |
9 | 9 | </PropertyGroup> |
10 | 10 |
|
11 | | - <!-- macOS-only: Android + iOS + MacCatalyst --> |
| 11 | + --><!-- macOS-only: Android + iOS + MacCatalyst --><!-- |
12 | 12 | <PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))"> |
13 | 13 | <TargetFrameworks>net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks> |
14 | 14 | </PropertyGroup> |
15 | 15 |
|
16 | 16 | <PropertyGroup Condition="'$(TargetFramework)' == 'net9.0-maccatalyst'"> |
17 | 17 | <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> |
18 | | - </PropertyGroup> |
| 18 | + </PropertyGroup>--> |
19 | 19 |
|
20 | 20 | <PropertyGroup> |
21 | | - <!--<UseMaui>true</UseMaui> |
22 | | - <SingleProject>true</SingleProject>--> |
23 | | - <DebugType>Full</DebugType> |
| 21 | + <TargetFramework>net9.0</TargetFramework> |
| 22 | + <DebugType>Full</DebugType> |
24 | 23 | <ImplicitUsings>enable</ImplicitUsings> |
25 | 24 |
|
26 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.2</SupportedOSPlatformVersion> |
| 25 | + <!--<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.2</SupportedOSPlatformVersion> |
27 | 26 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion> |
28 | 27 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion> |
29 | 28 | <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion> |
30 | 29 | <TargetPlatformMinVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</TargetPlatformMinVersion> |
31 | | - <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion> |
| 30 | + <SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'tizen'">6.5</SupportedOSPlatformVersion>--> |
32 | 31 | </PropertyGroup> |
33 | 32 |
|
34 | 33 | <PropertyGroup Condition="$(TargetFramework) == 'net9.0'"> |
|
56 | 55 | <PackageReference Include="Microsoft.Maui.Controls" Version="9.0.70" /> |
57 | 56 | </ItemGroup> |
58 | 57 |
|
59 | | - <PropertyGroup Condition="$(TargetFramework.Contains('-windows'))"> |
| 58 | + <ItemGroup Condition="!$([MSBuild]::IsOSPlatform('OSX'))"> |
| 59 | + <PackageReference Include="Microsoft.AppCenter" Version="5.0.7" /> |
| 60 | + <PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.7" /> |
| 61 | + </ItemGroup> |
| 62 | + <!--<PropertyGroup Condition="$(TargetFramework.Contains('-windows'))"> |
60 | 63 | <RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers> |
61 | 64 | </PropertyGroup> |
62 | | - |
| 65 | + |
63 | 66 | <ItemGroup Condition="'$(TargetFramework)' != 'net9.0-ios'"> |
64 | 67 | <PackageReference Include="Microsoft.AppCenter" Version="5.0.7" /> |
65 | 68 | <PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.7" /> |
|
91 | 94 |
|
92 | 95 | <Target Name="RemoveDuplicatePdbs" AfterTargets="ResolvePublishFiles"> |
93 | 96 | <ItemGroup> |
94 | | - <ResolvedFileToPublish Remove="@(ResolvedFileToPublish)" |
95 | | - Condition="'%(ResolvedFileToPublish.RelativePath)' == 'TransactionMobile.Maui.BusinessLogic.pdb' |
96 | | - and '%(ResolvedFileToPublish.TargetPath)' == 'TransactionMobile.Maui.BusinessLogic.pdb'" /> |
| 97 | + <ResolvedFileToPublish Remove="@(ResolvedFileToPublish)" Condition="'%(ResolvedFileToPublish.RelativePath)' == 'TransactionMobile.Maui.BusinessLogic.pdb'
 and '%(ResolvedFileToPublish.TargetPath)' == 'TransactionMobile.Maui.BusinessLogic.pdb'" /> |
97 | 98 | </ItemGroup> |
98 | | - </Target> |
| 99 | + </Target>--> |
99 | 100 |
|
100 | 101 | </Project> |
0 commit comments