[main] Update dependencies from dotnet/dotnet#11477
Open
dotnet-maestro[bot] wants to merge 25 commits into
Open
[main] Update dependencies from dotnet/dotnet#11477dotnet-maestro[bot] wants to merge 25 commits into
dotnet-maestro[bot] wants to merge 25 commits into
Conversation
…524.4 On relative base path root Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26268.112 -> To Version 11.0.0-beta.26274.104 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26268.112 -> To Version 0.11.5-preview.26274.104 Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26268.112 -> To Version 11.0.0-preview.5.26274.104 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26268.112 -> To Version 11.0.100-preview.5.26274.104
Updated from PR #11477 macOS test artifacts: - BuildReleaseArm64SimpleDotNet.CoreCLR.apkdesc (from macOS-10 Attempt 3) - BuildReleaseArm64XFormsDotNet.CoreCLR.apkdesc (from macOS-3 Attempt 3) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Member
|
The lower .so sizes are likely thanks to dotnet/runtime#128232 |
…527.4 On relative base path root Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26268.112 -> To Version 11.0.0-beta.26277.104 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26268.112 -> To Version 0.11.5-preview.26277.104 Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26268.112 -> To Version 11.0.0-preview.6.26277.104 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26268.112 -> To Version 11.0.100-preview.6.26277.104
…531.2 On relative base path root Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26268.112 -> To Version 11.0.0-beta.26281.102 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26268.112 -> To Version 0.11.5-preview.26281.102 Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26268.112 -> To Version 11.0.0-preview.6.26281.102 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26268.112 -> To Version 11.0.100-preview.6.26281.102
1d87f05 to
0f86512
Compare
Member
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
jonathanpeppers
approved these changes
Jun 2, 2026
jonathanpeppers
left a comment
Member
There was a problem hiding this comment.
The build keeps timing out, which makes me wonder if there is something stuck/frozen/hang in the .NET SDK, MSBuild, Roslyn, etc.
Member
|
I triggered: To just see if newer build works. |
Updating 'Microsoft.DotNet.Build.Tasks.Feed': '11.0.0-beta.26281.102' => '11.0.0-beta.26302.118' (from build '20260602.18' of 'https://github.com/dotnet/dotnet') Updating 'Microsoft.DotNet.Cecil': '0.11.5-preview.26281.102' => '0.11.5-preview.26302.118' (from build '20260602.18' of 'https://github.com/dotnet/dotnet') Updating 'Microsoft.NET.ILLink': '11.0.0-preview.6.26281.102' => '11.0.0-preview.6.26302.118' (from build '20260602.18' of 'https://github.com/dotnet/dotnet') Updating 'Microsoft.NET.Sdk': '11.0.100-preview.6.26281.102' => '11.0.100-preview.6.26302.118' (from build '20260602.18' of 'https://github.com/dotnet/dotnet') Updating 'Microsoft.NETCore.App.Ref': '11.0.0-preview.6.26281.102' => '11.0.0-preview.6.26302.118' (from build '20260602.18' of 'https://github.com/dotnet/dotnet') Updating 'Microsoft.TemplateEngine.Authoring.Tasks': '11.0.100-preview.6.26281.102' => '11.0.100-preview.6.26302.118' (from build '20260602.18' of 'https://github.com/dotnet/dotnet') Checking for coherency updates...done. Applying updates... done.
Member
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…602.18 On relative base path root Microsoft.DotNet.Arcade.Sdk From Version 11.0.0-beta.26302.103 -> To Version 11.0.0-beta.26302.118
Member
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
…604.6 On relative base path root Microsoft.DotNet.Arcade.Sdk From Version 11.0.0-beta.26302.103 -> To Version 11.0.0-beta.26304.106 Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26268.112 -> To Version 11.0.0-beta.26304.106 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26268.112 -> To Version 0.11.5-preview.26304.106 Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26268.112 -> To Version 11.0.0-preview.6.26304.106 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26268.112 -> To Version 11.0.100-preview.6.26304.106
…605.1 On relative base path root Microsoft.DotNet.Arcade.Sdk From Version 11.0.0-beta.26302.103 -> To Version 11.0.0-beta.26305.101 Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26268.112 -> To Version 11.0.0-beta.26305.101 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26268.112 -> To Version 0.11.5-preview.26305.101 Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26268.112 -> To Version 11.0.0-preview.6.26305.101 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26268.112 -> To Version 11.0.100-preview.6.26305.101
# Conflicts: # eng/Versions.props
The macOS build lane has been hanging on PR #11477 (.NET 11 preview.5 -> preview.6 bump) inside make jenkins. Investigation of canceled builds 14271330 and 14271332 shows the hang is deterministic at the first csc invocation: Attempt to open named pipe 'oiqbt3Y...' Attempt to connect named pipe 'oiqbt3Y...' Named pipe 'oiqbt3Y...' connected Begin writing request for Xamarin.SourceWriter (net10.0) [3h 49m of silence] ##[error]The job ran longer than the maximum time of 240 minutes. csc connects to the Roslyn build server (VBCSCompiler) over a Unix-domain socket and starts writing the build request, but the server never responds. This is a known class of Roslyn bug on macOS (dotnet/roslyn#23734, #24265, #75431). Disable shared compilation for the macOS \make jenkins\ and \make create-installers\ steps. Linux and Windows lanes are unaffected and continue to use shared compilation. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The previous attempt to fix the macOS hang (passing /p:UseSharedCompilation=false via MSBUILD_ARGS) only covered the top-level dotnet build invocation. The build moved past the original csc/VBCSCompiler named-pipe deadlock, but then hung again during the PrepareJavaInterop target, which uses an Exec task to spawn a separate dotnet build process for external/Java.Interop/Java.Interop.sln. That nested invocation does not inherit /p: properties from the outer call, so the shared compiler was re-enabled and deadlocked again. Set the property as an environment variable so it is inherited by every nested dotnet build process. MSBuild imports environment variables as initial global properties, and Microsoft.Managed.Core.targets only assigns a default when the property is empty, so this works everywhere without modifying each Exec command in DotNet.targets, ConfigureLocalWorkload.targets, Directory.Build.targets, or Mono.Android.targets. See dotnet/android PR #11477. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The /p:UseSharedCompilation=false in MSBUILD_ARGS was redundant with the step-level env var. The env var alone is sufficient: MSBuild imports environment variables as initial global properties, so it covers both the top-level `dotnet build` and every nested `<Exec>`-spawned `dotnet build` (e.g. PrepareJavaInterop's Java.Interop.sln build) - which the /p: arg did not. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
# Conflicts: # build-tools/automation/yaml-templates/build-macos-steps.yaml
…609.3 On relative base path root Microsoft.DotNet.Arcade.Sdk From Version 11.0.0-beta.26302.103 -> To Version 11.0.0-beta.26309.103 Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26268.112 -> To Version 11.0.0-beta.26309.103 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26268.112 -> To Version 0.11.5-preview.26309.103 Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26268.112 -> To Version 11.0.0-preview.6.26309.103 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26268.112 -> To Version 11.0.100-preview.6.26309.103
The macOS test lanes (MSBuild+Emulator and Package Tests > APKs) were
hanging at the 3h timeout in the `prepare java.interop` step - the same
Roslyn VBCSCompiler named-pipe deadlock the build lane already has a
workaround for. The fix only landed in build-macos-steps.yaml, but the
test-stage agents are fresh hosted macOS VMs that re-execute the same
`dotnet build -t:PrepareJavaInterop` from a different YAML.
Pass `env: { UseSharedCompilation: false }` to all `prepare java.interop`
template invocations:
- azure-pipelines-public.yaml (MSBuild+Emulator on dnceng-public)
- azure-pipelines-nightly.yaml
- yaml-templates/stage-msbuild-emulator-tests.yaml
- yaml-templates/stage-package-tests.yaml (4 callsites: Debug + Release
for each of mac_apk_tests_net_1 and mac_apk_tests_net_2)
run-dotnet-preview.yaml already accepts an `env` parameter and forwards
it to the script step, so no template changes are needed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The previous fix only set UseSharedCompilation=false on the 'prepare java.interop' steps. Build 1459667 showed those succeeded, but later steps in the same job (apk-instrumentation.yaml's '-t:Install' for Mono.Android.NET_Tests-TrimModePartial, plus 'Run tests' in run-sliced-nunit-tests.yaml) hit the same Roslyn VBCSCompiler deadlock and timed out at 3h. Hoist the workaround to a job-level 'variables:' block on each macOS test job. Azure Pipelines automatically exports job variables as environment variables on every step, so all dotnet/pwsh invocations within the job inherit the workaround without per-template plumbing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…612.1 On relative base path root Microsoft.DotNet.Arcade.Sdk From Version 11.0.0-beta.26302.103 -> To Version 11.0.0-beta.26312.101 Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26268.112 -> To Version 11.0.0-beta.26312.101 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26268.112 -> To Version 0.11.5-preview.26312.101 Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26268.112 -> To Version 11.0.0-preview.6.26312.101 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26268.112 -> To Version 11.0.100-preview.6.26312.101
Reverts the workarounds added in this branch (PR #11477) that set `UseSharedCompilation=false` on macOS jobs to work around a Roslyn build-server hang under .NET 11 preview.6 SDK. The latest darc bump to preview.6.26312.101 should let us re-evaluate whether the hang is still present. Even with the workaround applied across every macOS test job (via job-level `variables:`), build 1460354 still saw 4 of 12 emulator slices hang for 2h+ in `Run tests` with no Roslyn signature in the logs - so the workaround was not addressing the actual hang. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.
This pull request updates the following dependencies
From https://github.com/dotnet/dotnet