[release/11.0.1xx-preview6] Source code updates from dotnet/dotnet#55161
Open
dotnet-maestro[bot] wants to merge 13 commits into
Open
Conversation
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 ]]
Contributor
Author
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>
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)
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 ]]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Updated Dependencies
Associated changes in source repos
Diff the source with this PR branch