Skip to content

[release/10.0.3xx] Source code updates from dotnet/dotnet#54506

Merged
nagilson merged 13 commits into
release/10.0.3xxfrom
darc-release/10.0.3xx-34b3a8b5-32b3-4795-88f8-e798a18988f7
Jun 17, 2026
Merged

[release/10.0.3xx] Source code updates from dotnet/dotnet#54506
nagilson merged 13 commits into
release/10.0.3xxfrom
darc-release/10.0.3xx-34b3a8b5-32b3-4795-88f8-e798a18988f7

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

Note

This is a codeflow update. It may contain both source code changes from
the VMR
as well as dependency updates. Learn more here.

This pull request brings the following source code changes

From https://github.com/dotnet/dotnet

Updated Dependencies

  • From 10.0.0-preview.26270.102 to 10.0.0-preview.26315.104
    • Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal
    • Microsoft.CodeAnalysis.Razor.Tooling.Internal
    • Microsoft.NET.Sdk.Razor.SourceGenerators.Transport
  • From 18.6.6 to 18.6.11
    • Microsoft.Build
  • From 18.6.6-servicing-26270-102 to 18.6.11-servicing-26315-104
    • Microsoft.Build.Localization
  • From 7.6.0-rc.27102 to 7.6.0-rc.31604
    • 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
  • From 10.0.300 to 10.0.301
    • Microsoft.Build.Tasks.Git
    • Microsoft.SourceLink.AzureRepos.Git
    • Microsoft.SourceLink.Bitbucket.Git
    • Microsoft.SourceLink.Common
    • Microsoft.SourceLink.GitHub
    • Microsoft.SourceLink.GitLab
  • From 5.6.0-2.26270.102 to 5.6.0-2.26315.104
    • 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.CodeAnalysis.Workspaces.MSBuild.BuildHost
    • Microsoft.Net.Compilers.Toolset
    • Microsoft.Net.Compilers.Toolset.Framework
  • From 10.0.0-beta.26270.102 to 10.0.0-beta.26315.104
    • 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
  • From 15.2.301-servicing.26270.102 to 15.2.302-servicing.26315.104
    • Microsoft.FSharp.Compiler
  • From 18.6.0-release-26270-102 to 18.6.0-release-26315-104
    • Microsoft.NET.Test.Sdk
    • Microsoft.TestPlatform.Build
    • Microsoft.TestPlatform.CLI
  • From 10.0.301 to 10.0.302
    • Microsoft.TemplateEngine.Abstractions
    • Microsoft.TemplateEngine.Authoring.TemplateVerifier
    • Microsoft.TemplateEngine.Edge
    • Microsoft.TemplateEngine.Orchestrator.RunnableProjects
    • Microsoft.TemplateEngine.Utils
    • Microsoft.TemplateSearch.Common
  • From 10.0.301-servicing.26270.102 to 10.0.302-servicing.26315.104
    • Microsoft.TemplateEngine.Mocks
    • Microsoft.TemplateEngine.TestHelper
    • Microsoft.TemplateSearch.TemplateDiscovery
  • From 10.0.8 to 10.0.9
    • Microsoft.AspNetCore.App.Ref
    • 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.Web
    • Microsoft.AspNetCore.Components.WebAssembly
    • Microsoft.AspNetCore.Components.WebAssembly.Server
    • Microsoft.AspNetCore.Components.WebView
    • Microsoft.AspNetCore.Metadata
    • Microsoft.AspNetCore.TestHost
    • Microsoft.Bcl.AsyncInterfaces
    • Microsoft.DotNet.Web.ItemTemplates.10.0
    • Microsoft.DotNet.Web.ProjectTemplates.10.0
    • 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.ILLink.Tasks
    • Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64
    • Microsoft.NETCore.App.Ref
    • Microsoft.Win32.SystemEvents
    • 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
  • From 10.0.8-servicing.26229.119 to 10.0.9-servicing.26270.113
    • dotnet-dev-certs
    • dotnet-user-jwts
    • dotnet-user-secrets
    • Microsoft.AspNetCore.Analyzers
    • Microsoft.AspNetCore.App.Ref.Internal
    • Microsoft.AspNetCore.Components.SdkAnalyzers
    • Microsoft.AspNetCore.DeveloperCertificates.XPlat
    • Microsoft.AspNetCore.Mvc.Analyzers
    • Microsoft.AspNetCore.Mvc.Api.Analyzers
    • Microsoft.Dotnet.WinForms.ProjectTemplates
    • Microsoft.DotNet.Wpf.ProjectTemplates
    • Microsoft.NET.HostModel
    • Microsoft.NET.Sdk.WindowsDesktop
    • Microsoft.NETCore.Platforms
    • Microsoft.WindowsDesktop.App.Internal
  • From 3.2.8 to 3.2.9
    • Microsoft.Web.Xdt
  • From 2.0.8 to 2.0.9
    • System.CommandLine
  • From 2.2.8 to 2.2.9
    • Microsoft.DiaSymReader

Associated changes in source repos

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/dotnet:5ef850130ff4fc29043271f51ca415a885b39d41..https://github.com/dotnet/sdk:darc-release/10.0.3xx-34b3a8b5-32b3-4795-88f8-e798a18988f7

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Caution

🚨 Action Required — Conflict detected

A conflict was detected when trying to update this PR with changes from build 316257 of https://github.com/dotnet/dotnet/tree/e196eefefc303428cd2f1f50df8852d92d072308.

The conflicts in the following files need to be manually resolved:

ℹ️ To resolve the conflicts, please follow these steps:

  1. Clone the current repository

    git clone https://github.com/dotnet/sdk
    cd sdk
  2. Make sure your darc is up-to-date
    (version 1.1.0-beta.26268.2 or higher)

    # Linux / MacOS
    ./eng/common/darc-init.sh
    # or on Windows
    .\eng\common\darc-init.ps1
  3. Run from repo's git clone and follow the instructions provided by the command to stage the conflict locally

    darc vmr resolve-conflict --subscription 4514ea6b-c141-4e8c-8eb0-f7dc91caa781 

    This should apply the build 316257 with sources from e196eef

  4. Resolve the conflicts, commit & push the changes

  5. Once pushed, the Codeflow verification check will turn green.
    If not, a new build might have flown into the PR and you might need to run the command above again.

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Caution

There was a conflict in Nuget.Config. Resolved by preferring the version from the repo. Please make sure to merge any necessary changes from the VMR's Nuget.Config if needed.

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Caution

🚨 Action Required — Conflict detected

A conflict was detected when trying to update this PR with changes from build 316379 of https://github.com/dotnet/dotnet/tree/ad54eeefef23a050a8395a8d2ad99a2d4e0190f5.

The conflicts in the following files need to be manually resolved:

ℹ️ To resolve the conflicts, please follow these steps:

  1. Clone the current repository

    git clone https://github.com/dotnet/sdk
    cd sdk
  2. Make sure your darc is up-to-date
    (version 1.1.0-beta.26268.2 or higher)

    # Linux / MacOS
    ./eng/common/darc-init.sh
    # or on Windows
    .\eng\common\darc-init.ps1
  3. Run from repo's git clone and follow the instructions provided by the command to stage the conflict locally

    darc vmr resolve-conflict --subscription 4514ea6b-c141-4e8c-8eb0-f7dc91caa781 

    This should apply the build 316379 with sources from ad54eee

  4. Resolve the conflicts, commit & push the changes

  5. Once pushed, the Codeflow verification check will turn green.
    If not, a new build might have flown into the PR and you might need to run the command above again.

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Caution

There was a conflict in Nuget.Config. Resolved by preferring the version from the repo. Please make sure to merge any necessary changes from the VMR's Nuget.Config if needed.

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

Accept incoming NuGetAudit disable for official builds (dotnet/msbuild#10801)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@SimonZhao888

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

dotnet-maestro Bot added 2 commits June 4, 2026 20:24
Updated Dependencies:
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.26279.106 -> 10.0.0-preview.26304.109)
Microsoft.Build (Version 18.6.7 -> 18.6.8)
Microsoft.Build.Localization (Version 18.6.7-servicing-26279-106 -> 18.6.8-servicing-26304-109)
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.28006 -> 7.6.0-rc.30509)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.301 -> 10.0.301)
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.CodeAnalysis.Workspaces.MSBuild.BuildHost, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.6.0-2.26279.106 -> 5.6.0-2.26304.109)
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 10.0.0-beta.26279.106 -> 10.0.0-beta.26304.109)
Microsoft.FSharp.Compiler (Version 15.2.302-servicing.26279.106 -> 15.2.302-servicing.26304.109)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.6.0-release-26279-106 -> 18.6.0-release-26304-109)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common (Version 10.0.302 -> 10.0.302)
Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.302-servicing.26279.106 -> 10.0.302-servicing.26304.109)
[[ commit created by automation ]]
@SimonZhao888

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

dotnet-maestro Bot added 3 commits June 6, 2026 06:18
Updated Dependencies:
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.26304.109 -> 10.0.0-preview.26305.116)
Microsoft.Build (Version 18.6.8 -> 18.6.8)
Microsoft.Build.Localization (Version 18.6.8-servicing-26304-109 -> 18.6.8-servicing-26305-116)
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.30509 -> 7.6.0-rc.30616)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.301 -> 10.0.301)
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.CodeAnalysis.Workspaces.MSBuild.BuildHost, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.6.0-2.26304.109 -> 5.6.0-2.26305.116)
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 10.0.0-beta.26304.109 -> 10.0.0-beta.26305.116)
Microsoft.FSharp.Compiler (Version 15.2.302-servicing.26304.109 -> 15.2.302-servicing.26305.116)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.6.0-release-26304-109 -> 18.6.0-release-26305-116)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common (Version 10.0.302 -> 10.0.302)
Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.302-servicing.26304.109 -> 10.0.302-servicing.26305.116)
[[ commit created by automation ]]
@SimonZhao888

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@SimonZhao888

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Updated Dependencies:
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.26305.116 -> 10.0.0-preview.26310.103)
Microsoft.Build (Version 18.6.8 -> 18.6.11)
Microsoft.Build.Localization (Version 18.6.8-servicing-26305-116 -> 18.6.11-servicing-26310-103)
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.30616 -> 7.6.0-rc.31103)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.301 -> 10.0.301)
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.CodeAnalysis.Workspaces.MSBuild.BuildHost, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.6.0-2.26305.116 -> 5.6.0-2.26310.103)
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 10.0.0-beta.26305.116 -> 10.0.0-beta.26310.103)
Microsoft.FSharp.Compiler (Version 15.2.302-servicing.26305.116 -> 15.2.302-servicing.26310.103)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.6.0-release-26305-116 -> 18.6.0-release-26310-103)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common (Version 10.0.302 -> 10.0.302)
Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.302-servicing.26305.116 -> 10.0.302-servicing.26310.103)
[[ commit created by automation ]]
@joeloff

joeloff commented Jun 11, 2026

Copy link
Copy Markdown
Member

Assembly load failures related to the test host it seems

TpTrace Warning: 0 : 2324, 3, 2026/06/10, 13:38:33.125, 9099250660, testhost.net472.exe, TestPluginDiscoverer: Failed to get types searching for 'TestPlatformExtensionVersionAttribute' from assembly 'Microsoft.TestPlatform.TestHostRuntimeProvider, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Error: System.IO.FileLoadException: Could not load file or assembly 'System.Collections.Immutable, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Collections.Immutable, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' ---> System.IO.FileLoadException: Could not load file or assembly 'System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

Might be coming from VS

at System.Reflection.PortableExecutable.PEReader..ctor(Stream peStream, PEStreamOptions options, Int32 size)
   at Microsoft.VisualStudio.TestPlatform.Common.Utilities.MetadataReaderExtensionsHelper.DiscoverTestExtensionTypesV2AttributeInternal(Assembly loadedAssembly, String assemblyFilePath) in /_/src/vstest/src/Microsoft.TestPlatform.Common/Utilities/MetadataReaderHelper.cs:line 68
   at Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.TestPluginDiscoverer.GetTestExtensionsFromAssembly[TPluginInfo,TExtension](Assembly assembly, Dictionary`2 pluginInfos, String filePath) in /_/src/vstest/src/Microsoft.TestPlatform.Common/ExtensionFramework/TestPluginDiscoverer.cs:line 138

Updated Dependencies:
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.26310.103 -> 10.0.0-preview.26311.111)
Microsoft.Build (Version 18.6.11 -> 18.6.11)
Microsoft.Build.Localization (Version 18.6.11-servicing-26310-103 -> 18.6.11-servicing-26311-111)
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.31103 -> 7.6.0-rc.31211)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.301 -> 10.0.301)
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.CodeAnalysis.Workspaces.MSBuild.BuildHost, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.6.0-2.26310.103 -> 5.6.0-2.26311.111)
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 10.0.0-beta.26310.103 -> 10.0.0-beta.26311.111)
Microsoft.FSharp.Compiler (Version 15.2.302-servicing.26310.103 -> 15.2.302-servicing.26311.111)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.6.0-release-26310-103 -> 18.6.0-release-26311-111)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common (Version 10.0.302 -> 10.0.302)
Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.302-servicing.26310.103 -> 10.0.302-servicing.26311.111)
Microsoft.NETCore.App.Ref, System.IO.Hashing, Microsoft.Extensions.DependencyModel, Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64, Microsoft.NET.ILLink.Tasks, System.CodeDom, System.ComponentModel.Composition, System.Formats.Asn1, System.Security.Cryptography.ProtectedData, System.Text.Encoding.CodePages, System.Resources.Extensions, Microsoft.WindowsDesktop.App.Ref, Microsoft.AspNetCore.App.Ref, Microsoft.AspNetCore.Authentication.Facebook, Microsoft.AspNetCore.Authentication.Google, Microsoft.AspNetCore.Authentication.MicrosoftAccount, Microsoft.AspNetCore.Components, Microsoft.AspNetCore.Components.Analyzers, Microsoft.AspNetCore.Components.Forms, Microsoft.AspNetCore.Components.WebAssembly, Microsoft.AspNetCore.Components.WebAssembly.Server, Microsoft.AspNetCore.Components.WebView, Microsoft.AspNetCore.Metadata, Microsoft.Extensions.FileProviders.Embedded, Microsoft.AspNetCore.Authorization, Microsoft.AspNetCore.Components.Web, Microsoft.JSInterop, Microsoft.Extensions.ObjectPool, Microsoft.AspNetCore.TestHost, Microsoft.DotNet.Web.ItemTemplates.10.0, Microsoft.DotNet.Web.ProjectTemplates.10.0, Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, Microsoft.Extensions.DependencyInjection.Abstractions, Microsoft.Extensions.Logging.Console, Microsoft.Extensions.FileSystemGlobbing, System.ServiceProcess.ServiceController, System.Text.Json, Microsoft.Bcl.AsyncInterfaces, Microsoft.Extensions.FileProviders.Abstractions, Microsoft.Win32.SystemEvents, System.Composition.AttributedModel, System.Composition.Convention, System.Composition.Hosting, System.Composition.Runtime, System.Composition.TypedParts, System.Configuration.ConfigurationManager, System.Diagnostics.DiagnosticSource, System.Security.Cryptography.Pkcs, System.Security.Cryptography.Xml, System.Security.Permissions, System.Windows.Extensions, System.Reflection.MetadataLoadContext, Microsoft.Extensions.Configuration.Ini (Version 10.0.8 -> 10.0.9)
Microsoft.NETCore.Platforms, Microsoft.NET.HostModel, Microsoft.WindowsDesktop.App.Internal, Microsoft.Dotnet.WinForms.ProjectTemplates, Microsoft.DotNet.Wpf.ProjectTemplates, Microsoft.NET.Sdk.WindowsDesktop, Microsoft.AspNetCore.App.Ref.Internal, dotnet-dev-certs, dotnet-user-jwts, dotnet-user-secrets, Microsoft.AspNetCore.Analyzers, Microsoft.AspNetCore.Components.SdkAnalyzers, Microsoft.AspNetCore.Mvc.Analyzers, Microsoft.AspNetCore.Mvc.Api.Analyzers, Microsoft.AspNetCore.DeveloperCertificates.XPlat (Version 10.0.8-servicing.26229.119 -> 10.0.9-servicing.26270.113)
Microsoft.Web.Xdt (Version 3.2.8 -> 3.2.9)
System.CommandLine (Version 2.0.8 -> 2.0.9)
Microsoft.DiaSymReader (Version 2.2.8 -> 2.2.9)
[[ commit created by automation ]]
@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Caution

There was a conflict in Nuget.Config. Resolved by preferring the version from the repo. Please make sure to merge any necessary changes from the VMR's Nuget.Config if needed.

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

VMR PRs included in this codeflow update:

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

dotnet-maestro Bot added 2 commits June 15, 2026 22:48
Updated Dependencies:
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.0.0-preview.26311.111 -> 10.0.0-preview.26315.104)
Microsoft.Build (Version 18.6.11 -> 18.6.11)
Microsoft.Build.Localization (Version 18.6.11-servicing-26311-111 -> 18.6.11-servicing-26315-104)
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.31211 -> 7.6.0-rc.31604)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 10.0.301 -> 10.0.301)
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.CodeAnalysis.Workspaces.MSBuild.BuildHost, Microsoft.Net.Compilers.Toolset, Microsoft.Net.Compilers.Toolset.Framework (Version 5.6.0-2.26311.111 -> 5.6.0-2.26315.104)
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 10.0.0-beta.26311.111 -> 10.0.0-beta.26315.104)
Microsoft.FSharp.Compiler (Version 15.2.302-servicing.26311.111 -> 15.2.302-servicing.26315.104)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.6.0-release-26311-111 -> 18.6.0-release-26315-104)
Microsoft.TemplateEngine.Abstractions, Microsoft.TemplateEngine.Authoring.TemplateVerifier, Microsoft.TemplateEngine.Edge, Microsoft.TemplateEngine.Orchestrator.RunnableProjects, Microsoft.TemplateEngine.Utils, Microsoft.TemplateSearch.Common (Version 10.0.302 -> 10.0.302)
Microsoft.TemplateEngine.Mocks, Microsoft.TemplateEngine.TestHelper, Microsoft.TemplateSearch.TemplateDiscovery (Version 10.0.302-servicing.26311.111 -> 10.0.302-servicing.26315.104)
[[ commit created by automation ]]
@nagilson

Copy link
Copy Markdown
Member

Helix work items are crashing, which makes me think there's a larger issue at play here.

Expected string "  Determining projects to restore...
Restored C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\VSTestDesktopAndNetCore.csproj (in 367 ms).
C:\h\w\B7FD09C1\p\d\sdk\10.0.302-ci\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(383,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\VSTestDesktopAndNetCore.csproj::TargetFramework=net462]
C:\h\w\B7FD09C1\p\d\sdk\10.0.302-ci\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(383,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\VSTestDesktopAndNetCore.csproj::TargetFramework=net10.0]
CSC : warning MSTEST0001: Explicitly enable or disable tests parallelization (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0001) [C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\VSTestDesktopAndNetCore.csproj::TargetFramework=net462]
VSTestDesktopAndNetCore -> C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\bin\Debug\net462\win-x64\VSTestDesktopAndNetCore.dll
CSC : warning MSTEST0001: Explicitly enable or disable tests parallelization (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0001) [C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\VSTestDesktopAndNetCore.csproj::TargetFramework=net10.0]
VSTestDesktopAndNetCore -> C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\bin\Debug\net10.0\win-x64\VSTestDesktopAndNetCore.dll
Test run for C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\bin\Debug\net10.0\win-x64\VSTestDesktopAndNetCore.dll (.NETCoreApp,Version=v10.0)
Test run for C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\bin\Debug\net462\win-x64\VSTestDesktopAndNetCore.dll (.NETFramework,Version=v4.6.2)
A total of 1 test files matched the specified pattern.
A total of 1 test files matched the specified pattern.
Passed VSTestPassTest [9 ms]
Failed VSTestFailTest [17 ms]
Error Message:
Assert.Fail failed.
Stack Trace:
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message) in //src/TestFramework/TestFramework/Assertions/Assert.Fail.cs:line 25
at TestNamespace.VSTestTests.VSTestFailTest() in C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\Tests.cs:line 19
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Failed VSTestFailTestNetCoreApp [< 1 ms]
Error Message:
Assert.Fail failed.
Stack Trace:
at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message) in //src/TestFramework/TestFramework/Assertions/Assert.Fail.cs:line 25
at TestNamespace.VSTestTests.VSTestFailTestNetCoreApp() in C:\h\w\B7FD09C1\t\dotnetSdkTests\azheff1y.nvv\MStestMultiTF---4824BAB7\Tests.cs:line 31
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
Failed to load extensions from file 'C:\h\w\B7FD09C1\p\d\sdk\10.0.302-ci\Extensions\Microsoft.TestPlatform.TestHostRuntimeProvider.dll'. Please use /diag for more information.


Total tests: 3
Passed: 1
Failed: 2
Total time: 1.2317 Seconds


Additionally, path to test adapters can be specified using /TestAdapterPath command. Example  /TestAdapterPath:<pathToCustomAdapters>." to contain "Passed: 2".

The new TestPlatform.CLI package (18.6.0-release-26315-104) ships
System.Collections.Immutable.dll with assembly version 9.0.0.0 in its
TestHostNetFramework directory, but the testhost.exe.config binding
redirect still points to version 10.0.0.0. This mismatch causes all
.NET Framework (netfx) Helix work items to crash with:

  Could not load file or assembly 'System.Collections.Immutable,
  Version=10.0.0.0' ... The located assembly's manifest definition
  does not match the assembly reference.

Pin to the previous working version until the upstream bug is fixed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@nagilson

Copy link
Copy Markdown
Member

Note

This comment was generated with the assistance of AI/Copilot.

cc @dotnet/vstest

TestPlatform pinned to 18.6.0-release-26270-102

All .netfx Helix work items (FullFramework leg + some TestBuild tests) were crashing with:

Test Run Aborted with error System.Exception: One or more errors occurred.
 ---> Could not load file or assembly 'System.Collections.Immutable, Version=10.0.0.0' ...
      The located assembly's manifest definition does not match the assembly reference.
 ---> Could not load file or assembly 'System.Collections.Immutable, Version=8.0.0.0' ...

Root cause

The Microsoft.TestPlatform.CLI package 18.6.0-release-26315-104 has a bug: it ships System.Collections.Immutable.dll with assembly version 9.0.0.0 in its TestHostNetFramework/ directory, but the testhost.exe.config (and all other testhost configs) still contain a binding redirect to newVersion="10.0.0.0".

When the testhost.net472.exe starts:

  1. Binding redirect maps all SCI requests → 10.0.0.0
  2. Actual DLL on disk is 9.0.0.0
  3. Version mismatch → crash before any test can run

The previous package (18.6.0-release-26270-102) correctly shipped SCI 10.0.0.0 with the matching redirect.

Fix applied

Pinned Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.CLI, and Microsoft.TestPlatform.Build back to 18.6.0-release-26270-102 until the upstream mismatch is resolved.

@nagilson

Copy link
Copy Markdown
Member

Note

This comment was generated with the assistance of AI/Copilot.

TestPlatform Pin Applied

The FullFramework test crashes on this PR are caused by a known upstream issue: Microsoft.TestPlatform.CLI version 18.6.0-release-26315-104 ships System.Collections.Immutable.dll with assembly version 9.0.0.0, but esthost.exe.config has a binding redirect pointing to 10.0.0.0. This mismatch causes all .NET Framework Helix work items to crash with:

Could not load file or assembly 'System.Collections.Immutable, Version=10.0.0.0'

A pin to the previous working TestPlatform version (18.6.0-release-26270-102) has been pushed to this PR's branch (commit 516d3d2). We're waiting to see if CI passes with this pin before propagating the fix to other affected PRs (e.g. #54750 on release/9.0.3xx).

cc @dotnet/sdk-build

@nagilson

Copy link
Copy Markdown
Member

Remaining failures are a transient watch failure and a test package failure (It_throws_a_warning_when_NuGetPackageRoot_is_empty) that appears to be present in 10.0.3xx already.

Considering merging on red but working on a fix for the nuget package root test.

@nagilson nagilson requested a review from a team June 17, 2026 17:54
@nagilson

Copy link
Copy Markdown
Member

Looks like both failures are known/expected now so we can merge on red whenever someone else approves.

@nagilson nagilson merged commit 613b598 into release/10.0.3xx Jun 17, 2026
29 of 34 checks passed
@nagilson nagilson deleted the darc-release/10.0.3xx-34b3a8b5-32b3-4795-88f8-e798a18988f7 branch June 17, 2026 18:04
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants