Skip to content

[VALIDATION] Bump bootstrap SDK to 26176 to validate codeflow staging fix#53620

Draft
lewing wants to merge 13 commits intomainfrom
validate-bootstrap-bump
Draft

[VALIDATION] Bump bootstrap SDK to 26176 to validate codeflow staging fix#53620
lewing wants to merge 13 commits intomainfrom
validate-bootstrap-bump

Conversation

@lewing
Copy link
Copy Markdown
Member

@lewing lewing commented Mar 28, 2026

DO NOT MERGE — validation only

This draft PR validates that the remaining codeflow test failures in sdk#53613 are caused by bootstrap SDK version staging mismatches.

What this tests

Bumps global.json dotnet version from 11.0.100-preview.3.26170.106 to 11.0.100-preview.3.26176.106. This brings the bootstrap SDK's workload manifests, ILLink targets, and WebAssembly.Pack into alignment with the incoming codeflow versions.

Expected to fix

  • WASM Publish_HostingMultipleBlazorWebApps_Works — WebAssembly.Pack 26176 has the Framework SourceType fix (runtime#125329)
  • ILLink IL1032 errors (7 tests) — ILLink targets from 26176 pass assembly names matching the 26176 task DLL (runtime#125365)
  • NativeAot It_can_show_single_warning_per_assembly — ILLink staging alignment

Expected to still fail

  • TemplateEngine CacheSearchCoordinatorTests (7 tests) — STJ migration bug in MockTemplateInfo (needs templating#10066)

Context

Based on analysis in sdk#53613 comments.

dotnet-maestro bot and others added 10 commits March 27, 2026 10:16
Updated Dependencies:
dotnet-dev-certs, dotnet-user-jwts, dotnet-user-secrets, Microsoft.AspNetCore.Analyzers, Microsoft.AspNetCore.App.Ref, Microsoft.AspNetCore.App.Ref.Internal, Microsoft.AspNetCore.Authentication.Facebook, Microsoft.AspNetCore.Authentication.Google, Microsoft.AspNetCore.Authentication.MicrosoftAccount, Microsoft.AspNetCore.Authorization, Microsoft.AspNetCore.Components, Microsoft.AspNetCore.Components.Analyzers, Microsoft.AspNetCore.Components.Forms, Microsoft.AspNetCore.Components.SdkAnalyzers, Microsoft.AspNetCore.Components.Web, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.AspNetCore.Components.WebAssembly.Server, Microsoft.AspNetCore.Components.WebView, Microsoft.AspNetCore.DeveloperCertificates.XPlat, Microsoft.AspNetCore.Metadata, Microsoft.AspNetCore.Mvc.Analyzers, Microsoft.AspNetCore.Mvc.Api.Analyzers, Microsoft.AspNetCore.TestHost, Microsoft.Bcl.AsyncInterfaces, Microsoft.DotNet.Web.ItemTemplates.11.0, Microsoft.DotNet.Web.ProjectTemplates.11.0, Microsoft.Dotnet.WinForms.ProjectTemplates, Microsoft.DotNet.Wpf.ProjectTemplates, Microsoft.Extensions.Configuration.Ini, Microsoft.Extensions.DependencyModel, Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Extensions.FileProviders.Embedded, Microsoft.Extensions.FileSystemGlobbing, Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Console, Microsoft.Extensions.ObjectPool, Microsoft.JSInterop, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64, Microsoft.NET.Sdk.WindowsDesktop, Microsoft.NETCore.App.Ref, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, Microsoft.WindowsDesktop.App.Internal, Microsoft.WindowsDesktop.App.Ref, System.CodeDom, System.ComponentModel.Composition, System.Composition.AttributedModel, System.Composition.Convention, System.Composition.Hosting, System.Composition.Runtime, System.Composition.TypedParts, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Formats.Asn1, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Security.Cryptography.Pkcs, System.Security.Cryptography.ProtectedData, System.Security.Cryptography.Xml, System.Security.Permissions, System.ServiceProcess.ServiceController, System.Text.Encoding.CodePages, System.Text.Json, System.Windows.Extensions (Version 11.0.0-preview.3.26153.117 -> 11.0.0-preview.3.26176.106)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.26153.117 -> 10.0.0-preview.26176.106)
Microsoft.Build, Microsoft.Build.Localization (Version 18.6.0-preview-26153-117 -> 18.6.0-preview-26176-106)
Microsoft.Build.NuGetSdkResolver, NuGet.Build.Tasks, NuGet.Build.Tasks.Console, NuGet.Build.Tasks.Pack, NuGet.CommandLine.XPlat, NuGet.Commands, NuGet.Common, NuGet.Configuration, NuGet.Credentials, NuGet.DependencyResolver.Core, NuGet.Frameworks, NuGet.LibraryModel, NuGet.Localization, NuGet.Packaging, NuGet.ProjectModel, NuGet.Protocol, NuGet.Versioning (Version 7.5.0-rc.15417 -> 7.6.0-rc.17706)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab, Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common, Microsoft.TemplateSearch.TemplateDiscovery (Version 11.0.100-preview.3.26153.117 -> 11.0.100-preview.3.26176.106)
Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.BuildClient, Microsoft.CodeAnalysis.CSharp, Microsoft.CodeAnalysis.CSharp.CodeStyle, Microsoft.CodeAnalysis.CSharp.Features, Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.ExternalAccess.HotReload, Microsoft.CodeAnalysis.PublicApiAnalyzers, Microsoft.CodeAnalysis.Workspaces.Common, Microsoft.CodeAnalysis.Workspaces.MSBuild, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.6.0-2.26153.117 -> 5.6.0-2.26176.106)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.26153.117 -> 2.0.0-preview.1.26176.106)
Microsoft.DiaSymReader, System.CommandLine (Version 3.0.0-preview.3.26153.117 -> 3.0.0-preview.3.26176.106)
Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitExtensions (Version 11.0.0-beta.26153.117 -> 11.0.0-beta.26176.106)
Microsoft.FSharp.Compiler (Version 15.2.100-preview3.26153.117 -> 15.2.100-preview3.26176.106)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.5.0-preview-26153-117 -> 18.5.0-preview-26176-106)
Microsoft.Web.Xdt (Version 3.3.0-preview.3.26153.117 -> 3.3.0-preview.3.26176.106)

Added Dependencies:
Microsoft.Extensions.DependencyInjection.Abstractions (Version 11.0.0-preview.3.26176.106)
[[ commit created by automation ]]
(cherry picked from commit 2fbadcb)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ViktorHofer <7412651+ViktorHofer@users.noreply.github.com>
(cherry picked from commit 83d346c)
(cherry picked from commit ca8b34c)
When the codeflow updates MicrosoftNETCoreAppRuntimePackageVersion, the
WebAssembly.Pack version must also be pinned to match. Without this, the
workload manifest from the bootstrap SDK resolves an older pack version
that doesn't include changes from the incoming runtime (e.g. the
Framework SourceType fix from runtime#125329), causing
DiscoverPrecompressedAssets to crash on duplicate Identity keys in
multi-client Blazor WASM publish scenarios.

This mirrors the existing pattern for KnownILCompilerPack,
KnownILLinkPack, and KnownCrossgen2Pack.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- NativeAot: Account for 'lib' prefix on Unix native library outputs
  (runtime#124611 made this the default for non-Windows)
- dotnet-new: Update Verify snapshots for STJ error messages
  (templating#9956 migrated from Newtonsoft.Json to System.Text.Json,
  changing the corrupted JSON error text)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Updated Dependencies:
dotnet-dev-certs, dotnet-user-jwts, dotnet-user-secrets, Microsoft.AspNetCore.Analyzers, Microsoft.AspNetCore.App.Ref, Microsoft.AspNetCore.App.Ref.Internal, Microsoft.AspNetCore.Authentication.Facebook, Microsoft.AspNetCore.Authentication.Google, Microsoft.AspNetCore.Authentication.MicrosoftAccount, Microsoft.AspNetCore.Authorization, Microsoft.AspNetCore.Components, Microsoft.AspNetCore.Components.Analyzers, Microsoft.AspNetCore.Components.Forms, Microsoft.AspNetCore.Components.SdkAnalyzers, Microsoft.AspNetCore.Components.Web, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.AspNetCore.Components.WebAssembly.Server, Microsoft.AspNetCore.Components.WebView, Microsoft.AspNetCore.DeveloperCertificates.XPlat, Microsoft.AspNetCore.Metadata, Microsoft.AspNetCore.Mvc.Analyzers, Microsoft.AspNetCore.Mvc.Api.Analyzers, Microsoft.AspNetCore.TestHost, Microsoft.Bcl.AsyncInterfaces, Microsoft.DotNet.Web.ItemTemplates.11.0, Microsoft.DotNet.Web.ProjectTemplates.11.0, Microsoft.Dotnet.WinForms.ProjectTemplates, Microsoft.DotNet.Wpf.ProjectTemplates, Microsoft.Extensions.Configuration.Ini, Microsoft.Extensions.DependencyInjection.Abstractions, Microsoft.Extensions.DependencyModel, Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Extensions.FileProviders.Embedded, Microsoft.Extensions.FileSystemGlobbing, Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.Logging.Console, Microsoft.Extensions.ObjectPool, Microsoft.JSInterop, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64, Microsoft.NET.Sdk.WindowsDesktop, Microsoft.NETCore.App.Ref, Microsoft.NETCore.Platforms, Microsoft.Win32.SystemEvents, Microsoft.WindowsDesktop.App.Internal, Microsoft.WindowsDesktop.App.Ref, System.CodeDom, System.ComponentModel.Composition, System.Composition.AttributedModel, System.Composition.Convention, System.Composition.Hosting, System.Composition.Runtime, System.Composition.TypedParts, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Formats.Asn1, System.IO.Hashing, System.Reflection.MetadataLoadContext, System.Resources.Extensions, System.Security.Cryptography.Pkcs, System.Security.Cryptography.ProtectedData, System.Security.Cryptography.Xml, System.Security.Permissions, System.ServiceProcess.ServiceController, System.Text.Encoding.CodePages, System.Text.Json, System.Windows.Extensions (Version 11.0.0-preview.3.26176.106 -> 11.0.0-preview.3.26177.105)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.26176.106 -> 10.0.0-preview.26177.105)
Microsoft.Build, Microsoft.Build.Localization (Version 18.6.0-preview-26176-106 -> 18.6.0-preview-26177-105)
Microsoft.Build.NuGetSdkResolver, NuGet.Build.Tasks, NuGet.Build.Tasks.Console, NuGet.Build.Tasks.Pack, NuGet.CommandLine.XPlat, NuGet.Commands, NuGet.Common, NuGet.Configuration, NuGet.Credentials, NuGet.DependencyResolver.Core, NuGet.Frameworks, NuGet.LibraryModel, NuGet.Localization, NuGet.Packaging, NuGet.ProjectModel, NuGet.Protocol, NuGet.Versioning (Version 7.6.0-rc.17706 -> 7.6.0-rc.17805)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab, Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common, Microsoft.TemplateSearch.TemplateDiscovery (Version 11.0.100-preview.3.26176.106 -> 11.0.100-preview.3.26177.105)
Microsoft.CodeAnalysis, Microsoft.CodeAnalysis.BuildClient, Microsoft.CodeAnalysis.CSharp, Microsoft.CodeAnalysis.CSharp.CodeStyle, Microsoft.CodeAnalysis.CSharp.Features, Microsoft.CodeAnalysis.CSharp.Workspaces, Microsoft.CodeAnalysis.ExternalAccess.HotReload, Microsoft.CodeAnalysis.PublicApiAnalyzers, Microsoft.CodeAnalysis.Workspaces.Common, Microsoft.CodeAnalysis.Workspaces.MSBuild, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.6.0-2.26176.106 -> 5.6.0-2.26177.105)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.26176.106 -> 2.0.0-preview.1.26177.105)
Microsoft.DiaSymReader, System.CommandLine (Version 3.0.0-preview.3.26176.106 -> 3.0.0-preview.3.26177.105)
Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitExtensions (Version 11.0.0-beta.26176.106 -> 11.0.0-beta.26177.105)
Microsoft.FSharp.Compiler (Version 15.2.100-preview3.26176.106 -> 15.2.100-preview3.26177.105)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.5.0-preview-26176-106 -> 18.5.0-preview-26177-105)
Microsoft.Web.Xdt (Version 3.3.0-preview.3.26176.106 -> 3.3.0-preview.3.26177.105)
[[ commit created by automation ]]
Validate that bumping the bootstrap SDK to 26176 resolves the remaining
codeflow test failures caused by version staging mismatches:

- WASM Publish_HostingMultipleBlazorWebApps_Works: WebAssembly.Pack
  26170 lacks the Framework SourceType fix from runtime#125329
- ILLink IL1032: ILLink targets from 26170 pass file paths but the
  26176+ task DLL (runtime#125365) only accepts assembly names
- NativeAot single_warning_per_assembly: ILLink staging mismatch

This is a validation-only draft PR. The codeflow PR (sdk#53613) has
the production fixes; this validates the bootstrap theory.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update baseline JSON files for the Framework SourceType materialization
changes from runtime#125329. Pass-through files (JS, maps, ICU data)
are now registered as Framework assets and materialized to per-project
obj/fx/{SourceId}/ directories, changing their Identity paths in the
SWA manifests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Validate that bumping the bootstrap SDK to 26177 resolves the remaining
codeflow test failures. This build includes the templating STJ fix
(templating#10066) so TemplateEngine tests should also pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lewing lewing force-pushed the validate-bootstrap-bump branch from bb71a4a to e93cefd Compare March 29, 2026 01:29
ILLink behavior changed to require root assemblies specified by assembly
name rather than file path. Update EnableNonFrameworkTrimming to use
$(AssemblyName) instead of @(IntermediateAssembly->'%(FullPath)').
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants