Skip to content

Commit 6742974

Browse files
committed
Fix Maui Example on cross platform build
1 parent 6a8fa99 commit 6742974

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CSharpMath.Maui.Example/CSharpMath.Maui.Example.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
either BOTH runtimes must be indicated or ONLY macatalyst-x64. -->
1313
<!-- For example: <RuntimeIdentifiers>maccatalyst-x64;maccatalyst-arm64</RuntimeIdentifiers> -->
1414

15-
<OutputType>Exe</OutputType>
15+
<OutputType Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != ''">Exe</OutputType>
1616
<RootNamespace>CSharpMath.Maui.Example</RootNamespace>
1717
<UseMaui>true</UseMaui>
1818
<SingleProject>true</SingleProject>

0 commit comments

Comments
 (0)