Skip to content

Commit

Permalink
fix: Adjust formatting in the vsix mobile template
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed May 20, 2022
1 parent e905da3 commit 4a96a92
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,24 @@
<SingleProject>true</SingleProject>
<OutputType>Exe</OutputType>

$if$($UseIOS$ == True) <RuntimeIdentifier Condition="'$(TargetFramework)' == 'net6.0-ios'">iossimulator-x64</RuntimeIdentifier>
$endif$$if$($UseCatalyst$ == True) <RuntimeIdentifier Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">maccatalyst-x64</RuntimeIdentifier>
$endif$$if$($UseAppKit$ == True) <RuntimeIdentifier Condition="'$(TargetFramework)' == 'net6.0-macos'">osx-x64</RuntimeIdentifier>
$endif$
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net6.0-ios'">iossimulator-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">maccatalyst-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition="'$(TargetFramework)' == 'net6.0-macos'">osx-x64</RuntimeIdentifier>

<!-- Debugger workaround https://github.com/dotnet/maui-samples/blob/8aa6b8780b12e97b157514c3bdc54bb4a13001cd/HelloMacCatalyst/HelloMacCatalyst.csproj#L7 -->
<!-- <MtouchExtraArgs Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">$(MtouchExtraArgs) -setenv:MONO_THREADS_SUSPEND=preemptive</MtouchExtraArgs> -->

<!-- Required for C# Hot Reload -->
<UseInterpreter Condition="'$(Configuration)' == 'Debug' and '$(TargetFramework)' != 'net6.0-maccatalyst'">True</UseInterpreter>
<!-- Disabled because of https://github.com/dotnet/runtime/issues/68808 -->
<!--<UseInterpreter Condition="'$(Configuration)' == 'Debug' and '$(TargetFramework)' != 'net6.0-maccatalyst'">True</UseInterpreter>-->

<IsUnoHead>true</IsUnoHead>

$if$($UseIOS$ == True) <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-ios'">14.2</SupportedOSPlatformVersion>
$endif$$if$($UseCatalyst$ == True) <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">14.0</SupportedOSPlatformVersion>
$endif$$if$($UseAndroid$ == True) <SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-android'">21.0</SupportedOSPlatformVersion>
$endif$$if$($UseAppKit$ == True) <SupportedOSPlatformVersion Condition="'$(TargetFramework)'=='net6.0-macos'">10.14</SupportedOSPlatformVersion>
$endif$ </PropertyGroup>
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-ios'">14.2</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-maccatalyst'">14.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="'$(TargetFramework)' == 'net6.0-android'">21.0</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="'$(TargetFramework)'=='net6.0-macos'">10.14</SupportedOSPlatformVersion>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Uno.WinUI" Version="4.2.6" />
Expand All @@ -33,7 +34,7 @@ $endif$ </PropertyGroup>

<Choose>

$if$($UseAndroid$ == True) <When Condition="'$(TargetFramework)'=='net6.0-android'">
<When Condition="'$(TargetFramework)'=='net6.0-android'">
<ItemGroup>
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.4.0.4" />
<PackageReference Include="Uno.UniversalImageLoader" Version="1.9.35" />
Expand All @@ -42,8 +43,8 @@ $if$($UseAndroid$ == True) <When Condition="'$(TargetFramework)'=='net6.0-andro
<AndroidEnvironment Include="Android/environment.conf" />
</ItemGroup>
</When>
$endif$
$if$($UseIOS$ == True) <When Condition="'$(TargetFramework)'=='net6.0-ios'">

<When Condition="'$(TargetFramework)'=='net6.0-ios'">
<PropertyGroup Condition="'$(TargetFramework)'=='net6.0-ios'">
<MtouchExtraArgs>$(MtouchExtraArgs) --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs>

Expand All @@ -54,8 +55,8 @@ $if$($UseIOS$ == True) <When Condition="'$(TargetFramework)'=='net6.0-ios'">
<PackageReference Include="Uno.Extensions.Logging.OSLog" Version="1.3.0" />
</ItemGroup>
</When>
$endif$
$if$($UseCatalyst$ == True) <When Condition="'$(TargetFramework)'=='net6.0-maccatalyst'">

<When Condition="'$(TargetFramework)'=='net6.0-maccatalyst'">
<PropertyGroup>
<!-- Configure the GC -->
<MtouchExtraArgs>$(MtouchExtraArgs) --setenv=MONO_GC_PARAMS=soft-heap-limit=512m,nursery-size=64m,evacuation-threshold=66,major=marksweep,concurrent-sweep</MtouchExtraArgs>
Expand All @@ -74,12 +75,11 @@ $if$($UseCatalyst$ == True) <When Condition="'$(TargetFramework)'=='net6.0-macc
<PackageReference Include="Uno.Extensions.Logging.OSLog" Version="1.3.0" />
</ItemGroup>
</When>
$endif$
$if$($UseAppKit$ == True) <When Condition="'$(TargetFramework)'=='net6.0-macos'">

<When Condition="'$(TargetFramework)'=='net6.0-macos'">
<PropertyGroup>
</PropertyGroup>
</When>
$endif$
</Choose>

<Import Project="..\$ext_safeprojectname$.Shared\$ext_safeprojectname$.Shared.projitems" Label="Shared" />
Expand Down

0 comments on commit 4a96a92

Please sign in to comment.