Skip to content

[release/11.0.1xx-preview6] Source code updates from dotnet/dotnet - #55161

Closed
dotnet-maestro[bot] wants to merge 16 commits into
release/11.0.1xx-preview6from
darc-release/11.0.1xx-preview6-63209b4f-871f-4ab3-b55e-564a8ed52017
Closed

dotnet-maestro[bot] wants to merge 16 commits into
release/11.0.1xx-preview6from
darc-release/11.0.1xx-preview6-63209b4f-871f-4ab3-b55e-564a8ed52017

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Jul 7, 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

New Dependencies

Removed Dependencies

  • Removed 11.0.0-preview.6.26311.113
    • Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64

Updated Dependencies

  • From 11.0.0-beta.26311.113 to 11.0.0-beta.26357.118
    • Microsoft.DotNet.Arcade.Sdk
    • Microsoft.DotNet.Build.Tasks.Installers
    • Microsoft.DotNet.Build.Tasks.Templating
    • Microsoft.DotNet.Build.Tasks.Workloads
    • Microsoft.DotNet.Helix.JobMonitor
    • Microsoft.DotNet.Helix.JobMonitor
    • Microsoft.DotNet.Helix.Sdk
    • Microsoft.DotNet.SignTool
    • Microsoft.DotNet.XliffTasks
    • Microsoft.DotNet.XUnitV3Extensions
  • From 11.0.0-preview.6.26311.113 to 11.0.0-preview.6.26357.118
    • 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.McpServer.ProjectTemplates.11.0
    • Microsoft.NET.HostModel
    • Microsoft.NET.ILLink.Tasks
    • 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
  • From 10.4.0-preview.26311.113 to 10.4.0-preview.26357.118
    • Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal
    • Microsoft.CodeAnalysis.Razor.Tooling.Internal
    • Microsoft.NET.Sdk.Razor.SourceGenerators.Transport
  • From 18.9.0-preview-26311-113 to 18.9.0-preview-26357-118
    • Microsoft.Build
    • Microsoft.Build.Localization
  • From 7.9.0-rc.31213 to 7.9.0-rc.35818
    • 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 11.0.100-preview.6.26311.113 to 11.0.100-preview.6.26357.118
    • Microsoft.Build.Tasks.Git
    • Microsoft.SourceLink.AzureRepos.Git
    • Microsoft.SourceLink.Bitbucket.Git
    • Microsoft.SourceLink.Common
    • Microsoft.SourceLink.GitHub
    • Microsoft.SourceLink.GitLab
  • From 5.9.0-1.26311.113 to 5.9.0-1.26357.118
    • 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
  • From 2.0.0-preview.1.26311.113 to 2.0.0-preview.1.26357.118
    • Microsoft.Deployment.DotNet.Releases
  • From 3.0.0-preview.6.26311.113 to 3.0.0-preview.6.26357.118
    • Microsoft.DiaSymReader
    • System.CommandLine
  • From 15.2.101-preview6.26311.113 to 15.2.101-preview7.26357.118
    • Microsoft.FSharp.Compiler
  • From 18.8.0-release-26311-113 to 18.10.0-preview-26357-118
    • Microsoft.NET.Test.Sdk
    • Microsoft.TestPlatform.Build
    • Microsoft.TestPlatform.CLI
  • From 3.3.0-preview.6.26311.113 to 3.3.0-preview.6.26357.118
    • Microsoft.Web.Xdt

Associated changes in source repos

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/dotnet:2461daa1d76b420ad12e4ebd73e64a4421cc365f..https://github.com/dotnet/sdk:darc-release/11.0.1xx-preview6-63209b4f-871f-4ab3-b55e-564a8ed52017

dotnet-maestro Bot added 2 commits July 7, 2026 09:45
Updated Dependencies:
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.McpServer.ProjectTemplates.11.0, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, 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.6.26311.113 -> 11.0.0-preview.6.26356.105)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.4.0-preview.26311.113 -> 10.4.0-preview.26356.105)
Microsoft.Build, Microsoft.Build.Localization (Version 18.9.0-preview-26311-113 -> 18.9.0-preview-26356-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.9.0-rc.31213 -> 7.9.0-rc.35705)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 11.0.100-preview.6.26311.113 -> 11.0.100-preview.6.26356.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.9.0-1.26311.113 -> 5.9.0-1.26356.105)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.26311.113 -> 2.0.0-preview.1.26356.105)
Microsoft.DiaSymReader, System.CommandLine (Version 3.0.0-preview.6.26311.113 -> 3.0.0-preview.6.26356.105)
Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.JobMonitor, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitV3Extensions (Version 11.0.0-beta.26311.113 -> 11.0.0-beta.26356.105)
Microsoft.FSharp.Compiler (Version 15.2.101-preview6.26311.113 -> 15.2.101-preview7.26356.105)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.8.0-release-26311-113 -> 18.10.0-preview-26356-105)
Microsoft.Web.Xdt (Version 3.3.0-preview.6.26311.113 -> 3.3.0-preview.6.26356.105)

Added Dependencies:
Microsoft.NET.Runtime.Emscripten.5.0.6.Cache.win-x64 (Version 11.0.0-preview.6.26356.105)

Removed Dependencies:
Microsoft.NET.Runtime.Emscripten.3.1.56.Cache.win-x64 (Version 11.0.0-preview.6.26311.113)
Microsoft.DotNet.Helix.JobMonitor (Version 11.0.0-beta.26311.113)
[[ commit created by automation ]]
akoeplinger and others added 3 commits July 7, 2026 11:58
ToolPackageInstanceTests.cs (added by #54822) used the xUnit [Fact] attribute, but
Microsoft.DotNet.PackageInstall.Tests was migrated to MSTest.Sdk (#54822 was validated
on a pre-migration base and merged without re-running CI against current main, so the
incompatibility wasn't caught). The project no longer references xUnit, so [Fact] fails
to compile with CS0246, breaking the build on main.

Use [TestClass]/[TestMethod] to match the rest of the (MSTest) test project.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
maraf and others added 2 commits July 7, 2026 17:59
…ization for MTP (#55027)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit df8e062)
dotnet/roslyn#81729 introduced AbstractEditAndContinueAnalyzer.EnableProjectLevelAnalysis
(default false) and only sets it to true in the HotReloadService(HostWorkspaceServices, ...)
constructor overload. dotnet-watch uses the other primary constructor
(SolutionServices, Func<...>), so the flag stays false. This disables detection of
project-level changes (e.g. newly added <ProjectReference>), causing hot reload to
apply deltas against a stale project graph and the watched app to crash with
FileNotFoundException on the missing dependency.

Enable the flag via reflection until Roslyn sets it in both constructors.

(cherry picked from commit 9a7cdc5)
@akoeplinger
akoeplinger requested review from a team and tmat as code owners July 7, 2026 16:00
akoeplinger and others added 5 commits July 7, 2026 19:29
The MTP help output was updated to include a new --progress option and
remove the duplicate --ansi from Extension Options. The snapshot file
was not regenerated, causing test failures across all legs.

Changes:
- --no-progress reference updated to --progress off
- New --progress platform option added
- --ansi removed from Extension Options (was duplicated from Platform Options)
- {arch} placeholder added to --report-trx-filename description

Fixes #54948

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

ItCanAddDependents, ItCanFindVisualStudioDependents, and
ItWillNotRemoveTheProviderIfOtherDependentsExist all create and mutate the same
hardcoded registry key (.NET_SDK_TEST_PROVIDER_KEY). xUnit ran methods within a
class serially, but the migration to MSTest MethodLevel parallelism (#54766) runs
them concurrently, causing intermittent 'expected 1, actual 2 dependents' and
missing-subkey failures. Add class-level [DoNotParallelize] to restore serial
execution, matching the existing pattern used elsewhere in the repo.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
DangerousFileDetectorTests.ItShouldDetectFileWithMarkOfTheWeb relies on the
legacy IE/urlmon InternetSecurityManager to detect a file's Mark-of-the-Web
zone. On the new windows.amd64.vs2026.pre.scout image (IE removed), MapUrlToZone
no longer reliably honors the Zone.Identifier stream, and the behavior even
diverges between an independent probe and the product's IsDangerous, so the
positive assertion cannot be reliably gated. Disable the test on this image
pending a robust approach, tracked by #54951.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The 'full' and 'partial' DataRows of ILLink_TrimMode_new_options run concurrently
under MSTest MethodLevel parallelism. Both passed a bare '-bl' to the publish
command, which writes msbuild.binlog to the process current directory. Since
PublishCommand did not set a working directory, that resolved to the shared Helix
work-item directory, so the two DataRows raced on the same msbuild.binlog and the
publish failed with MSB4104 (file used by another process).

Set the command's working directory to the per-DataRow project directory (which is
unique because the test asset identifier includes targetFramework + trimMode), so
the binary log is written there instead of the shared current directory. This
matches the pattern already used by DotnetBuildCommand.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Updated Dependencies:
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.McpServer.ProjectTemplates.11.0, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, Microsoft.NET.Runtime.Emscripten.5.0.6.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.6.26356.105 -> 11.0.0-preview.6.26357.107)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.4.0-preview.26356.105 -> 10.4.0-preview.26357.107)
Microsoft.Build, Microsoft.Build.Localization (Version 18.9.0-preview-26356-105 -> 18.9.0-preview-26357-107)
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.9.0-rc.35705 -> 7.9.0-rc.35807)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 11.0.100-preview.6.26356.105 -> 11.0.100-preview.6.26357.107)
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.9.0-1.26356.105 -> 5.9.0-1.26357.107)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.26356.105 -> 2.0.0-preview.1.26357.107)
Microsoft.DiaSymReader, System.CommandLine (Version 3.0.0-preview.6.26356.105 -> 3.0.0-preview.6.26357.107)
Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.JobMonitor, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitV3Extensions (Version 11.0.0-beta.26356.105 -> 11.0.0-beta.26357.107)
Microsoft.FSharp.Compiler (Version 15.2.101-preview7.26356.105 -> 15.2.101-preview7.26357.107)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.10.0-preview-26356-105 -> 18.10.0-preview-26357-107)
Microsoft.Web.Xdt (Version 3.3.0-preview.6.26356.105 -> 3.3.0-preview.6.26357.107)
[[ commit created by automation ]]
dotnet-maestro Bot added 2 commits July 8, 2026 18:33
Updated Dependencies:
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.McpServer.ProjectTemplates.11.0, Microsoft.NET.HostModel, Microsoft.NET.ILLink.Tasks, Microsoft.NET.Runtime.Emscripten.5.0.6.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.6.26357.107 -> 11.0.0-preview.6.26357.118)
Microsoft.AspNetCore.Mvc.Razor.Extensions.Tooling.Internal, Microsoft.CodeAnalysis.Razor.Tooling.Internal, Microsoft.NET.Sdk.Razor.SourceGenerators.Transport (Version 10.4.0-preview.26357.107 -> 10.4.0-preview.26357.118)
Microsoft.Build, Microsoft.Build.Localization (Version 18.9.0-preview-26357-107 -> 18.9.0-preview-26357-118)
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.9.0-rc.35807 -> 7.9.0-rc.35818)
Microsoft.Build.Tasks.Git, Microsoft.SourceLink.AzureRepos.Git, Microsoft.SourceLink.Bitbucket.Git, Microsoft.SourceLink.Common, Microsoft.SourceLink.GitHub, Microsoft.SourceLink.GitLab (Version 11.0.100-preview.6.26357.107 -> 11.0.100-preview.6.26357.118)
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.9.0-1.26357.107 -> 5.9.0-1.26357.118)
Microsoft.Deployment.DotNet.Releases (Version 2.0.0-preview.1.26357.107 -> 2.0.0-preview.1.26357.118)
Microsoft.DiaSymReader, System.CommandLine (Version 3.0.0-preview.6.26357.107 -> 3.0.0-preview.6.26357.118)
Microsoft.DotNet.Arcade.Sdk, Microsoft.DotNet.Build.Tasks.Installers, Microsoft.DotNet.Build.Tasks.Templating, Microsoft.DotNet.Build.Tasks.Workloads, Microsoft.DotNet.Helix.JobMonitor, Microsoft.DotNet.Helix.Sdk, Microsoft.DotNet.SignTool, Microsoft.DotNet.XliffTasks, Microsoft.DotNet.XUnitV3Extensions (Version 11.0.0-beta.26357.107 -> 11.0.0-beta.26357.118)
Microsoft.FSharp.Compiler (Version 15.2.101-preview7.26357.107 -> 15.2.101-preview7.26357.118)
Microsoft.NET.Test.Sdk, Microsoft.TestPlatform.Build, Microsoft.TestPlatform.CLI (Version 18.10.0-preview-26357-107 -> 18.10.0-preview-26357-118)
Microsoft.Web.Xdt (Version 3.3.0-preview.6.26357.107 -> 3.3.0-preview.6.26357.118)
[[ commit created by automation ]]
@dotnet-maestro

dotnet-maestro Bot commented Jul 8, 2026

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.

@marcpopMSFT

marcpopMSFT commented Jul 9, 2026

Copy link
Copy Markdown
Member

🤖 @dotnet/dotnet-testing could you take a look? This codeflow update surfaces what looks like a broken/version-skewed vstest drop.

Summary of investigation

CI failure analysis of build 1500018:

  • The only "real" test failures are 41 tests, all on the Windows dotnet.Tests leg (Microsoft.DotNet.Cli.Test.Tests, Microsoft.DotNet.Cli.VSTest.Tests, plus a couple of ToolPack tests that shell out to dotnet test). The Linux/macOS "gaps" between total and passed are NotExecuted/skipped tests — dotnet.Tests only runs on the Windows leg.
  • Every failure is the same crash: the classic VSTest path (vstest.console) throws on startup and writes a coredump (exit code -532462766 = 0xE0434352, a managed unhandled exception):
Unhandled exception. System.MissingMethodException: Method not found:
'Boolean Microsoft.VisualStudio.TestPlatform.ObjectModel.RunConfiguration.get_CreateNoNewWindow()'.
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Hosting.DotnetTestHostManager.Initialize(...) DotnetTestHostManager.cs:line 198
   at ...CrossPlatEngine.TestEngine.GetTestRuntimeProvidersForUniqueConfigurations(...)
   at ...Client.TestPlatform.CreateTestRunRequest(...)
   at ...CommandLine.TestPlatformHelpers.TestRequestManager.RunTests(...)

Root cause

This PR bumps the vstest packages (Microsoft.NET.Test.Sdk / Microsoft.TestPlatform.CLI / Microsoft.TestPlatform.Build) from 18.8.0-release-26311-11318.10.0-preview-26357-118. That drop is internally inconsistent: CrossPlatEngine calls RunConfiguration.CreateNoNewWindow (added in microsoft/vstest#15585) but the Microsoft.VisualStudio.TestPlatform.ObjectModel loaded at runtime doesn't define that getter → MissingMethodException. This is the same failure family as microsoft/vstest#15029.

Net effect: dotnet test (VSTest path) is 100% broken in this SDK build. The MTP (Microsoft.Testing.Platform) path is unaffected.

Why main/release/11.0.1xx-preview6 are green

Both branches still pin vstest to 18.8.0-release-26311-113. It isn't "already fixed on main" — main simply hasn't taken the 18.10.0-preview-26357-118 bump that this PR introduces.

Suggested next steps

  • Product side (vstest): a corrected/coherent vstest drop where ObjectModel matches CrossPlatEngine (the CreateNoNewWindow API is present in both). I'm filing an issue in microsoft/vstest and will link it here.
  • To unblock this PR for preview 6 without the fix: pin the three vstest packages back to 18.8.0-release-26311-113 in eng/Version.Details.xml + eng/Version.Details.props until a fixed vstest flows. (Low risk, but a subsequent VMR codeflow may re-introduce the bump.)

Not a hard blocker for preview 6 shipping, but it does mean dotnet test is broken in this exact build.

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Important

While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged).
To avoid complex conflicts, the codeflow cannot continue until this PR is closed or merged.

You can continue with one of the following options:

  • Ignore this and merge this PR as usual without waiting for the new changes.
    Once merged, Maestro will create a new codeflow PR with the new changes.
  • Close this PR and wait for Maestro to open a new one with old and new changes included.
    You will lose any manual changes made in this PR.
    You can also manually trigger the new codeflow right away by running:
    darc trigger-subscriptions --id caa743a3-52ab-44c4-a525-8f3952712fec
    
  • Force a codeflow into this PR at your own risk if you want the new changes.
    User commits made to this PR might be reverted.
    darc trigger-subscriptions --id caa743a3-52ab-44c4-a525-8f3952712fec --force
    

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

@nohwnd
nohwnd requested a review from MiYanni as a code owner July 10, 2026 13:24
@nohwnd

nohwnd commented Jul 10, 2026

Copy link
Copy Markdown
Member

To summarize the findings here if someone sees this and not our internal chat. There is some target that copies previous sdk parts into the new sdk parts. This happens only here in PR build, not in actual product build.

https://github.com/dotnet/sdk/blob/main/src/Layout/redist/targets/OverlaySdkOnLKG.targets

Somehow 18.4 ObjectModel ends up in the sdk folder (next to vstest.console) so when we then try to start testhost it blows up because not properties are there (the dll is 6 versions too old). This has nothing to do with outdated microsoft.net.test.sdk etc.

The cherry picked commit from Baronfel is fixing unrelated problem with binary log overwriting in the build, so we can actually diagnose the issue (in the existing build we only see binary msbuild log of test running, but not of the sdk build).

@marcpopMSFT

Copy link
Copy Markdown
Member

porting that commit fixed the issue but I have no idea why. Regardless, we're down to one test failure that looks like noise, rerunning now.

@dotnet-maestro
dotnet-maestro Bot deleted the darc-release/11.0.1xx-preview6-63209b4f-871f-4ab3-b55e-564a8ed52017 branch July 14, 2026 20:24
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.

8 participants