Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[main] Source code updates from dotnet/sdk - #5402

#5402
Merged
dotnet-maestro[bot] merged 10 commits into
maindotnet/dotnet:mainfrom
darc-main-931b7b2e-5e89-4b09-979a-16ed33fa65eadotnet/dotnet:darc-main-931b7b2e-5e89-4b09-979a-16ed33fa65eaCopy head branch name to clipboard
Mar 13, 2026
Merged

[main] Source code updates from dotnet/sdk#5402
dotnet-maestro[bot] merged 10 commits into
maindotnet/dotnet:mainfrom
darc-main-931b7b2e-5e89-4b09-979a-16ed33fa65eadotnet/dotnet:darc-main-931b7b2e-5e89-4b09-979a-16ed33fa65eaCopy head branch name to clipboard

Conversation

@dotnet-maestro

@dotnet-maestro dotnet-maestro Bot commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Note

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

This pull request brings the following source code changes

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

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/sdk:fa5d8d28a5f206401cb45a60669cdc8fc9d433ba..https://github.com/dotnet/dotnet:darc-main-931b7b2e-5e89-4b09-979a-16ed33fa65ea

@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 305729 of https://github.com/dotnet/sdk/tree/7f7422e3e5dbe5b349c440e601dbf18b50f358e0.

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

  • src/Dotnet.Watch/HotReloadClient/DefaultHotReloadClient.cs
    🔍 View file in dotnet/sdk vs VMR
  • src/Dotnet.Watch/HotReloadClient/HotReloadClients.cs
    🔍 View file in dotnet/sdk vs VMR
  • src/Dotnet.Watch/HotReloadClient/Utilities/ResponseFunc.cs
    🔍 View file in dotnet/sdk vs VMR
  • src/Dotnet.Watch/HotReloadClient/Web/AbstractBrowserRefreshServer.cs
    🔍 View file in dotnet/sdk vs VMR
  • src/Dotnet.Watch/Watch/Build/BuildNames.cs
    🔍 View file in dotnet/sdk vs VMR
  • src/Dotnet.Watch/Watch/Build/LoadedProjectGraph.cs
    🔍 View file in dotnet/sdk vs VMR
  • src/Dotnet.Watch/Watch/Context/DotNetWatchContext.cs
    🔍 View file in dotnet/sdk vs VMR
  • src/Dotnet.Watch/Watch/HotReload/CompilationHandler.cs
    🔍 View file in dotnet/sdk vs VMR
  • src/Dotnet.Watch/Watch/HotReload/HotReloadDotNetWatcher.cs
    🔍 View file in dotnet/sdk vs VMR
  • src/Dotnet.Watch/Watch/Process/ProcessRunner.cs
    🔍 View file in dotnet/sdk vs VMR

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

  1. Clone the current repository
    git clone https://github.com/dotnet/dotnet
    cd dotnet
  2. Make sure your darc is up-to-date
    (version 1.1.0-beta.26161.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 b80ccdd7-504a-4efb-b58b-d6480d0a64d9
    This should apply the build 305729 with sources from 7f7422e
  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

Detected incorrect content in the target repo for src/sdk/src/Dotnet.Watch/Watch/Build/EvaluationResult.cs that could not be auto-resolved. Please review and correct this file manually.

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

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

PRs from original repository included in this codeflow update:

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

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team March 11, 2026 20:54
Accept SDK source versions for Dotnet.Watch files and fix duplicate
Debug.Assert in EvaluationResult.cs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lewing
lewing requested a review from a team March 11, 2026 21:29
lewing and others added 3 commits March 11, 2026 20:22
The BOM was introduced during conflict resolution and causes MSBuild
parse failures on Linux (MSB4025: Data at the root level is invalid).

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

Copy link
Copy Markdown
Contributor Author

@marcpopMSFT

Copy link
Copy Markdown
Member

Two failures:

  1. ##[error]src/sdk/source-build.slnf(1,1): error MSB4025: (NETCORE_ENGINEERING_TELEMETRY=Restore) The project file could not be loaded. Data at the root level is invalid. Line 1, position 1. <-- lewing fixed this above so not sure why it's still showing up. Pinged him.
  2. /__w/1/s/.dotnet/sdk/11.0.100-preview.3.26128.104/Microsoft.Common.CurrentVersion.targets(5094,5): error MSB3026: Could not copy "/__w/1/s/src/razor/artifacts/bin/Microsoft.CodeAnalysis.Razor.Workspaces/Release/net10.0/ko/Microsoft.CodeAnalysis.Razor.Workspaces.resources.dll" to "/__w/1/s/src/razor/artifacts/bin/Microsoft.CodeAnalysis.Remote.Razor/Release/net10.0/ko/Microsoft.CodeAnalysis.Razor.Workspaces.resources.dll". Beginning retry 1 in 1000ms. The process cannot access the file '/__w/1/s/src/razor/artifacts/bin/Microsoft.CodeAnalysis.Remote.Razor/Release/net10.0/ko/Microsoft.CodeAnalysis.Razor.Workspaces.resources.dll' because it is being used by another process. [/__w/1/s/src/razor/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/Microsoft.CodeAnalysis.Remote.Razor.csproj::TargetFramework=net10.0]
    /__w/1/s/.dotnet/sdk/11.0.100-preview.3.26128.104/Microsoft.Common.CurrentVersion.targets(5094,5): error MSB3026: Could not copy "/__w/1/s/src/razor/artifacts/bin/Microsoft.AspNetCore.Razor.Utilities.Shared/Release/net10.0/de/Microsoft.AspNetCore.Razor.Utilities.Shared.resources.dll" to "/__w/1/s/src/razor/artifacts/bin/Microsoft.CodeAnalysis.Remote.Razor/Release/net10.0/de/Microsoft.AspNetCore.Razor.Utilities.Shared.resources.dll". Beginning retry 1 in 1000ms. The process cannot access the file '/__w/1/s/src/razor/artifacts/bin/Microsoft.CodeAnalysis.Remote.Razor/Release/net10.0/de/Microsoft.AspNetCore.Razor.Utilities.Shared.resources.dll' because it is being used by another process. [/__w/1/s/src/razor/src/Razor/src/Microsoft.CodeAnalysis.Remote.Razor/Microsoft.CodeAnalysis.Remote.Razor.csproj::TargetFramework=net10.0]

Looks like a build flakiness issue.

@marcpopMSFT

Copy link
Copy Markdown
Member

@dbreshears the second issue above looks like instability in the razor build: #5402 (comment)

I asked copilot and it suggested adding the following to the top of repo-projects/razor.proj. Not knowing enough about the razor build, I didn't include that in the PR but thought I'd share in case that's something that would be worth having.


$(FlagParameterPrefix)restore $(FlagParameterPrefix)build $(FlagParameterPrefix)pack
$(BuildActions) $(FlagParameterPrefix)sign

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

@akoeplinger

Copy link
Copy Markdown
Member

There was a missing path in the .slnf, filed dotnet/msbuild#13379 for getting a better error message

@dotnet-maestro
dotnet-maestro Bot merged commit 08e21da into main Mar 13, 2026
16 checks passed
@dotnet-maestro
dotnet-maestro Bot deleted the darc-main-931b7b2e-5e89-4b09-979a-16ed33fa65ea branch March 13, 2026 16:32
@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team March 13, 2026 16:33
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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.