From abe084e2afcb4adc1057aa94273e88f4195ea6b2 Mon Sep 17 00:00:00 2001 From: Jonathan Peppers Date: Mon, 26 Jan 2026 15:35:24 -0600 Subject: [PATCH] [build] fix `publish BAR manifest` step This is currently failing with: build-tools\create-packs\Directory.Build.targets(188,5): error MSB4062: The "PushToBuildStorage" task could not be loaded from the assembly C:\Users\cloudtest\.nuget\packages\microsoft.dotnet.build.tasks.feed\11.0.0-beta.26064.107\build\../tools/net/Microsoft.DotNet.Build.Tasks.Feed.dll. Could not load file or assembly 'System.Runtime, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [build-tools\create-packs\Microsoft.Android.Sdk.proj] `PushToBuildStorage` is now targeting .NET 11, but this is a step that is using a stable .NET SDK (currently .NET 10). For now, let's just use a slightly older version of the `PushToBuildStorage` task that targets .NET 10. When .NET 10 Preview 1 has shipped, it will be easy to use the `UseDotNet` yaml task and fix this properly. --- build-tools/create-packs/Directory.Build.targets | 5 +++-- build-tools/create-packs/Microsoft.Android.Sdk.proj | 3 ++- eng/Versions.props | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/build-tools/create-packs/Directory.Build.targets b/build-tools/create-packs/Directory.Build.targets index 20b0af19e81..134129fd518 100644 --- a/build-tools/create-packs/Directory.Build.targets +++ b/build-tools/create-packs/Directory.Build.targets @@ -1,7 +1,8 @@ - - + + + diff --git a/build-tools/create-packs/Microsoft.Android.Sdk.proj b/build-tools/create-packs/Microsoft.Android.Sdk.proj index ae4ce770363..ac1e755ff0c 100644 --- a/build-tools/create-packs/Microsoft.Android.Sdk.proj +++ b/build-tools/create-packs/Microsoft.Android.Sdk.proj @@ -8,7 +8,8 @@ core workload SDK packs imported by WorkloadManifest.targets. --> - + + diff --git a/eng/Versions.props b/eng/Versions.props index 69896cc684a..bc0fbd1b3b6 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -7,6 +7,8 @@ 11.0.0-alpha.1.26064.107 7.0.0-beta.22103.1 11.0.0-beta.26064.107 + + 11.0.0-beta.26060.102 11.0.0-alpha.1.26064.107 11.0.100-alpha.1.26064.107 $(MicrosoftNETWorkloadMonoToolChainCurrentManifest110100alpha1PackageVersion)