diff --git a/azure-pipelines.yml b/azure-pipelines.yml index a51a3a1ea..d0685dbcc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,9 @@ pr: variables: AndroidBinderatorVersion: 0.5.0 AndroidXMigrationVersion: 1.0.8 - DotNetVersion: 6.0.100-rc.1.21463.6 + DotNetVersion: 6.0.100-rc.2.21505.57 + DotNet6Source: https://aka.ms/dotnet6/nuget/index.json + NuGetOrgSource: https://api.nuget.org/v3/index.json # NOTE: there wasn't a public release of 16.11 for macOS LegacyXamarinAndroidPkg: https://dl.internalx.com/vsts-devdiv/Xamarin.Android/public/4941337/d16-11/7776c9f1c8fac303c3aa57867825990850be0384/xamarin.android-11.4.0.5.pkg LegacyXamarinAndroidVsix: https://download.visualstudio.microsoft.com/download/pr/7372b89a-b719-426c-9916-c33cbc6c7a61/45c38957fdcacfbee95be95ee40c4f5a4cc9ace69416625ad26e2da83b176941/Xamarin.Android.Sdk-11.4.0.5.vsix @@ -42,7 +44,8 @@ jobs: inputs: version: $(DotNetVersion) - pwsh: | - dotnet workload install android + dotnet workload update --verbosity diag --from-rollback-file workload.json --source $(Dotnet6Source) --source $(NuGetOrgSource) + dotnet workload install android --verbosity diag --skip-manifest-update --source $(Dotnet6Source) --source $(NuGetOrgSource) - task: JavaToolInstaller@0 inputs: versionSpec: '11' diff --git a/workload.json b/workload.json new file mode 100644 index 000000000..4e7bb98a6 --- /dev/null +++ b/workload.json @@ -0,0 +1,10 @@ +{ + "microsoft.net.sdk.android": "31.0.101-preview.10.59", + "microsoft.net.sdk.ios": "15.0.101-preview.9.31", + "microsoft.net.sdk.maccatalyst": "15.0.101-preview.9.31", + "microsoft.net.sdk.macos": "12.0.101-preview.9.31", + "microsoft.net.sdk.maui": "6.0.101-preview.9.1843", + "microsoft.net.sdk.tvos": "15.0.101-preview.9.31", + "microsoft.net.workload.emscripten": "6.0.0-rc.2.21474.1", + "microsoft.net.workload.mono.toolchain": "6.0.0-rc.2.21480.5" +} \ No newline at end of file