Update to .NET 10 (#19869)
* Update to .NET 10 and C# 14 * Remove reflection usage in AvaloniaAccessHelper * Fix Android nullability errors * Fix WindowMetrics.WindowInsets removed from AndroidX * Update pipelines * Fix ValidateApiDiff for missing frameworks * Fix Windows integration tests * Update Xamarin.AndroidX.Window to 1.5.0 * Fix MacCatalyst supported version * Remove unused Xunit.Extensions.Ordering * Try to fix macOS integration tests * Update pipeline runner to macOS 15 * Disable LeakTests * Fix .NET Framework unit tests * Fix BuildTests * Bump minimum Android API level to 24 * Update to .NET 10 RTM * Update XamlX * update android insets and activity code to handle deprecated behaviors in api 36 --------- Co-authored-by: Emmanuel Hansen <emmausssss@gmail.com>
This commit is contained in:
committed by
GitHub
parent
8631917d57
commit
fb0f3848f9
@@ -26,7 +26,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Xamarin.AndroidX.Core.SplashScreen" Version="1.0.1.4" />
|
||||
<PackageReference Include="Xamarin.AndroidX.Core.SplashScreen" Version="1.0.1.17" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="7.0.2" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="7.0.2" PrivateAssets="all" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.0" PrivateAssets="all" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<ProvisioningType>manual</ProvisioningType>
|
||||
<TargetFramework>$(AvsCurrentMacCatalystTargetFramework)</TargetFramework>
|
||||
<!-- Used to support Desktop Mode Idiom, min supported version is 13.1, which supports iPad scaling. -->
|
||||
<SupportedOSPlatformVersion>14.0</SupportedOSPlatformVersion>
|
||||
<SupportedOSPlatformVersion>15.0</SupportedOSPlatformVersion>
|
||||
<UseInterpreter>true</UseInterpreter>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<IsPackable>false</IsPackable>
|
||||
<AvaloniaPreviewerNetCoreToolPath>$(MSBuildThisFileDirectory)..\src\tools\Avalonia.Designer.HostApp\bin\Debug\netstandard2.0\Avalonia.Designer.HostApp.dll</AvaloniaPreviewerNetCoreToolPath>
|
||||
<EnableNETAnalyzers>false</EnableNETAnalyzers>
|
||||
<LangVersion>12</LangVersion>
|
||||
<LangVersion>14.0</LangVersion>
|
||||
<NoWarn>$(NoWarn);CS8002</NoWarn> <!-- ignore signing warnings for samples -->
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@@ -9,4 +9,4 @@ arch="arm64"
|
||||
fi
|
||||
|
||||
dotnet restore -r osx-$arch
|
||||
dotnet msbuild -t:BundleApp -p:RuntimeIdentifier=osx-$arch
|
||||
dotnet msbuild -t:BundleApp -p:RuntimeIdentifier=osx-$arch -p:SelfContained=true
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>$(AvsCurrentTargetFramework)</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GtkSharp" Version="3.24.24.95" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GtkSharp" Version="3.24.24.95"/>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\Avalonia.X11\Avalonia.X11.csproj" />
|
||||
<ProjectReference Include="..\ControlCatalog\ControlCatalog.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\src\Avalonia.X11\Avalonia.X11.csproj"/>
|
||||
<ProjectReference Include="..\ControlCatalog\ControlCatalog.csproj"/>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user