Skip to content

Commit 655fb9a

Browse files
project file updates
1 parent c3ee0d9 commit 655fb9a

1 file changed

Lines changed: 22 additions & 4 deletions

File tree

TransactionProcessor.Mobile/TransactionProcessor.Mobile.csproj

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

3-
<PropertyGroup>
4-
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
3+
4+
<!--<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
55
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net9.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);net9.0-tizen</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);net9.0-tizen</TargetFrameworks> -->
88

99
<!-- Note for MacCatalyst:
1010
The default runtime is maccatalyst-x64, except in Release config, in which case the default is maccatalyst-x64;maccatalyst-arm64.
@@ -13,6 +13,24 @@
1313
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
1414
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
1515

16+
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
17+
<TargetFrameworks>net9.0-android</TargetFrameworks>
18+
</PropertyGroup>
19+
20+
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
21+
<TargetFrameworks>net9.0-android;net9.0-windows10.0.19041.0</TargetFrameworks>
22+
</PropertyGroup>
23+
24+
<!-- macOS-only: Android + iOS + MacCatalyst -->
25+
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('OSX'))">
26+
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
27+
</PropertyGroup>
28+
29+
<!--<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-maccatalyst'">
30+
<RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers>
31+
</PropertyGroup>-->
32+
33+
<PropertyGroup>
1634
<OutputType>Exe</OutputType>
1735
<RootNamespace>TransactionProcessor.Mobile</RootNamespace>
1836
<UseMaui>true</UseMaui>

0 commit comments

Comments
 (0)