|
@@ -6,29 +6,13 @@
|
|
|
<Nullable>enable</Nullable>
|
|
|
<Configurations>Debug;Release;Publish</Configurations>
|
|
|
<Platforms>AnyCPU</Platforms>
|
|
|
-<!-- <IsAotCompatible>false</IsAotCompatible>-->
|
|
|
-<!-- <EnableNativeAOT>false</EnableNativeAOT>-->
|
|
|
-<!-- <PublishAot>false</PublishAot>-->
|
|
|
-<!-- <PublishAotUsingRuntimePack>false</PublishAotUsingRuntimePack>-->
|
|
|
-<!-- <MtouchUseLlvm>false</MtouchUseLlvm>-->
|
|
|
+ <PublishAot>false</PublishAot>
|
|
|
</PropertyGroup>
|
|
|
|
|
|
-<!-- Forces the use of the iOS interpreter during builds -->
|
|
|
-<!-- <PropertyGroup Condition="$(TargetFramework.Contains('-ios'))">-->
|
|
|
-<!-- <UseInterpreter>true</UseInterpreter>-->
|
|
|
-<!-- </PropertyGroup>-->
|
|
|
-
|
|
|
-<!-- Disables the new "managed-static" registrar. Could cause the app's size to be slightly larger. May enable in the future See : https://github.com/xamarin/xamarin-macios/wiki/.NET-9-release-notes#type-registrar-managed-static-as-the-new-default -->
|
|
|
-<!-- <Target Name="SelectStaticRegistrar" AfterTargets="SelectRegistrar">-->
|
|
|
-<!-- <PropertyGroup Condition="'$(Registrar)' == 'managed-static'">-->
|
|
|
-<!-- <Registrar>static</Registrar>-->
|
|
|
-<!-- </PropertyGroup>-->
|
|
|
-<!-- </Target>-->
|
|
|
+
|
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
|
<CodesignKey>iPhone Developer</CodesignKey>
|
|
|
-<!-- <MtouchDebug>true</MtouchDebug>-->
|
|
|
-<!-- <IOSDebugOverWiFi>true</IOSDebugOverWiFi>-->
|
|
|
<CodesignProvision>Development (com.prs.avalonia)</CodesignProvision>
|
|
|
</PropertyGroup>
|
|
|
|
|
@@ -49,12 +33,55 @@
|
|
|
</ItemGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
|
- <PackageReference Include="Avalonia.Fonts.Inter" Version="11.2.2" />
|
|
|
- <PackageReference Include="Avalonia.iOS" Version="11.2.2" />
|
|
|
+ <PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.2" />
|
|
|
+ <PackageReference Include="Avalonia.iOS" Version="11.3.2" />
|
|
|
</ItemGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
|
<Folder Include="Assets.xcassets\" />
|
|
|
</ItemGroup>
|
|
|
+
|
|
|
+ <PropertyGroup>
|
|
|
+ <PublishAot>false</PublishAot>
|
|
|
+ <!-- Recommended Avalonia trimming settings for Native AOT -->
|
|
|
+ <BuiltInComInteropSupport>false</BuiltInComInteropSupport>
|
|
|
+ <TrimMode>link</TrimMode>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <ItemGroup>
|
|
|
+ <TrimmerRootDescriptor Include="TrimmerRoots.xml" />
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
+ <ItemGroup>
|
|
|
+ <!-- Preserve Avalonia types for reflection -->
|
|
|
+ <TrimmerRootAssembly Include="Avalonia.Themes.Fluent" />
|
|
|
+ <TrimmerRootAssembly Include="Autofac" />
|
|
|
+ <TrimmerRootAssembly Include="Avalonia.Controls" />
|
|
|
+
|
|
|
+ <TrimmerRootAssembly Include="InABox.Avalonia" />
|
|
|
+ <TrimmerRootAssembly Include="InABox.Avalonia.Platform" />
|
|
|
+ <TrimmerRootAssembly Include="InABox.Avalonia.Platform.iOS" />
|
|
|
+ <TrimmerRootAssembly Include="InABox.Client.RPC" />
|
|
|
+ <TrimmerRootAssembly Include="PRS.Avalonia" />
|
|
|
+ <TrimmerRootAssembly Include="PRSClasses" />
|
|
|
+ <TrimmerRootAssembly Include="InABox.Core" />
|
|
|
+ <TrimmerRootAssembly Include="InABox.Formatters.Core" />
|
|
|
+ <TrimmerRootAssembly Include="InABox.Integration" />
|
|
|
+ <TrimmerRootAssembly Include="InABox.Logging.Shared" />
|
|
|
+ <TrimmerRootAssembly Include="InABox.RPC.Shared" />
|
|
|
+ </ItemGroup>
|
|
|
+
|
|
|
+ <!-- Forces the use of the iOS interpreter during builds -->
|
|
|
+ <PropertyGroup Condition="$(TargetFramework.Contains('-ios'))">
|
|
|
+ <UseInterpreter>true</UseInterpreter>
|
|
|
+ </PropertyGroup>
|
|
|
+
|
|
|
+ <!-- Disables the new "managed-static" registrar. Could cause the app's size to be slightly larger.
|
|
|
+ May enable in the future See : https://github.com/xamarin/xamarin-macios/wiki/.NET-9-release-notes#type-registrar-managed-static-as-the-new-default -->
|
|
|
+ <Target Name="SelectStaticRegistrar" AfterTargets="SelectRegistrar">
|
|
|
+ <PropertyGroup Condition="'$(Registrar)' == 'managed-static'">
|
|
|
+ <Registrar>static</Registrar>
|
|
|
+ </PropertyGroup>
|
|
|
+ </Target>
|
|
|
|
|
|
</Project>
|