Add .NET 8 target (Avalonia 11.1) (#14535)
* Add .NET 8 target to packable projects * Update test projects * Update sample projects to target .NET 8 * Update main Avalonia package to target .NET 8 as well * Remove MSBuildEnableWorkloadResolver hack and some minor change * Use net8.0 in nuke build as well * Pin 8.0.0 SDK * Adjust API validation * Pin a valid version * Remove net461 target from Avalonia package * Remove unused net6.0 target from Avalonia.Designer.HostApp * Adjust API diff * Update ControlCatalog.Android.csproj * Remove MSBuildEnableWorkloadResolver * Fix Browser issues on .NET 8 * Fix .NET 8 error * Fix merge conflicts * Replace explicit TFMs in .csproj files with a centralized registry * Fix merge conflict * Fix AvsLegacyWindowsTargetFrameworks and add hacks for the tests * Update XCode project CommandLineArgument --------- Co-authored-by: Nikita Tsukanov <keks9n@gmail.com>
This commit is contained in:
@@ -11,7 +11,7 @@ jobs:
|
||||
version: 6.0.x
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .NET 7.0 SDK'
|
||||
displayName: 'Use .NET 8.0 SDK'
|
||||
inputs:
|
||||
packageType: sdk
|
||||
useGlobalJson: true
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
rm -rf $(osascript -e "POSIX path of (path to application id \"net.avaloniaui.avalonia.integrationtestapp\")")
|
||||
pkill IntegrationTestApp
|
||||
./samples/IntegrationTestApp/bundle.sh
|
||||
open -n ./samples/IntegrationTestApp/bin/Debug/net7.0/osx-$arch/publish/IntegrationTestApp.app
|
||||
open -n ./samples/IntegrationTestApp/bin/Debug/net8.0/osx-$arch/publish/IntegrationTestApp.app
|
||||
pkill IntegrationTestApp
|
||||
displayName: 'Build IntegrationTestApp'
|
||||
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
version: 6.0.x
|
||||
|
||||
- task: UseDotNet@2
|
||||
displayName: 'Use .NET 7.0 SDK'
|
||||
displayName: 'Use .NET 8.0 SDK'
|
||||
inputs:
|
||||
packageType: sdk
|
||||
useGlobalJson: true
|
||||
|
||||
Reference in New Issue
Block a user