Skip to content

Commit f1710df

Browse files
..
1 parent 4ea326a commit f1710df

2 files changed

Lines changed: 20 additions & 19 deletions

File tree

TransactionMobile.Maui.BusinessLogic/TransactionMobile.Maui.BusinessLogic.csproj

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
3+
<!--<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
44
<TargetFrameworks>net9.0;net9.0-android</TargetFrameworks>
55
</PropertyGroup>
66
77
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
88
<TargetFrameworks>net9.0;net9.0-android;net9.0-windows10.0.19041.0</TargetFrameworks>
99
</PropertyGroup>
1010
11-
<!-- macOS-only: Android + iOS + MacCatalyst -->
11+
--><!-- macOS-only: Android + iOS + MacCatalyst --><!--
1212
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
1313
<TargetFrameworks>net9.0;net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
1414
</PropertyGroup>
1515
1616
<PropertyGroup Condition="'$(TargetFramework)' == 'net9.0-maccatalyst'">
1717
<RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers>
18-
</PropertyGroup>
18+
</PropertyGroup>-->
1919

2020
<PropertyGroup>
21-
<!--<UseMaui>true</UseMaui>
22-
<SingleProject>true</SingleProject>-->
23-
<DebugType>Full</DebugType>
21+
<TargetFramework>net9.0</TargetFramework>
22+
<DebugType>Full</DebugType>
2423
<ImplicitUsings>enable</ImplicitUsings>
2524

26-
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.2</SupportedOSPlatformVersion>
25+
<!--<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">12.2</SupportedOSPlatformVersion>
2726
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">13.1</SupportedOSPlatformVersion>
2827
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">21.0</SupportedOSPlatformVersion>
2928
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.17763.0</SupportedOSPlatformVersion>
3029
<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>-->
3231
</PropertyGroup>
3332

3433
<PropertyGroup Condition="$(TargetFramework) == 'net9.0'">
@@ -56,10 +55,14 @@
5655
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.70" />
5756
</ItemGroup>
5857

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'))">
6063
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
6164
</PropertyGroup>
62-
65+
6366
<ItemGroup Condition="'$(TargetFramework)' != 'net9.0-ios'">
6467
<PackageReference Include="Microsoft.AppCenter" Version="5.0.7" />
6568
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.7" />
@@ -91,10 +94,8 @@
9194
9295
<Target Name="RemoveDuplicatePdbs" AfterTargets="ResolvePublishFiles">
9396
<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'&#xD;&#xA; and '%(ResolvedFileToPublish.TargetPath)' == 'TransactionMobile.Maui.BusinessLogic.pdb'" />
9798
</ItemGroup>
98-
</Target>
99+
</Target>-->
99100

100101
</Project>

TransactionMobile.Maui/TransactionMobile.Maui.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@
6969
<PackageReference Include="Microsoft.AppCenter.Distribute" Version="5.0.7" />
7070
</ItemGroup>
7171

72+
<ItemGroup>
73+
<ProjectReference Include="..\TransactionMobile.Maui.BusinessLogic\TransactionMobile.Maui.BusinessLogic.csproj"/>
74+
</ItemGroup>
75+
7276
<ItemGroup>
7377
<Compile Update="Pages\Developer\DeveloperPage.xaml.cs">
7478
<DependentUpon>DeveloperPage.xaml</DependentUpon>
@@ -260,16 +264,12 @@
260264
<Folder Include="Models\" />
261265
</ItemGroup>
262266

263-
<ItemGroup>
264-
<ProjectReference Include="..\TransactionMobile.Maui.BusinessLogic\TransactionMobile.Maui.BusinessLogic.csproj" />
265-
</ItemGroup>
266-
267267
<PropertyGroup Condition="$(TargetFramework.Contains('-maccatalyst'))">
268268
<RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers>
269269
</PropertyGroup>
270270

271271
<PropertyGroup Condition="$(TargetFramework.Contains('-windows'))">
272-
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
272+
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
273273
</PropertyGroup>
274274

275275
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net9.0-android|AnyCPU'">

0 commit comments

Comments
 (0)