[main] Update dependencies from dotnet/dotnet#12050
Conversation
…710.11 On relative base path root Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed From Version 11.0.0-beta.26355.102 -> To Version 11.0.0-beta.26360.111 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26355.102 -> To Version 0.11.5-preview.26360.111 Microsoft.NET.ILLink , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.7.26355.102 -> To Version 11.0.0-preview.7.26360.111 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.7.26355.102 -> To Version 11.0.100-preview.7.26360.111
|
| Test | Problem | Suggested fix |
|---|---|---|
BuildTest.BuildApplicationWithSpacesInPath |
Reference built from the absolute folderName with a ..\ prefix (BuildTest.cs:658: $"..\\{folderName}Library1\\Library1.csproj") → normalizes to a doubled path |
Use a relative path: $"..\\{TestName}Library1\\Library1.csproj" |
BuildAssetsTest.FullPrefixRaisesError |
App references ..\Library1\Library1.csproj, but no Library1 project exists in that test (BuildAssetsTest.cs:196); restore fails on the dangling ref before the expected XA1041 |
Drop the bogus ProjectReference (test is about MonoAndroidAssetsPrefix) |
Fixing these two clears the bulk of the red (BuildApplicationWithSpacesInPath is by far the most frequent, retried 8× per lane).
Group B — a genuine behavior change (needs your call, please don't just patch the tests):
IncrementalBuildTest.MissingProjectReference, BuildWithLibraryTests.BuildWithNativeLibraries, and BindingBuildTest.AndroidMavenLibrary_AllDependenciesAreVerified all reference a project whose .csproj isn't on disk at restore time (by design / build-ordering — e.g. MissingProjectReference builds the app before the lib to assert the warning MSB9008 → CS0246 contract; BuildWithNativeLibraries builds Library2 before Library1).
Old SDK tolerated this → build warning MSB9008. New SDK → hard restore error MSB3202. The resolved path is correct; the file is just legitimately absent. That MSB9008→MSB3202 shift is a long-standing MSBuild behavior changing, and it looks like an unintended side-effect (NuGet's change is about relative-path resolution, not failing on missing projects). Reordering builds or asserting MSB3202 would mask a regression that could hit real customers (generated / conditional / out-of-order ProjectReferences), so this probably wants a minimal upstream repro + ruling (dotnet/sdk or NuGet/Home) before we touch the tests.
Not gating (safe to ignore for this PR)
AndroidMessageHandlerTests.ServerCertificateCustomValidationCallback_{Approve,Reject}Request— flaky emulator DNS (Unable to resolve host "www.microsoft.com" … android_getaddrinfo failed: EAI_NODATA); "callback hasn't been called" is downstream of the same DNS failure.MSBuild+Emulator 6180-min timeout —continueOnErrordevice lane; an Auto-Retry re-ran a few device tests that failed to launch (~11 min each) until the cap. Secondary to the build break.
TL;DR
Group A = two quick test fixes on our side. Group B = a real MSB9008→MSB3202 restore behavior change that I think warrants an upstream repro/ruling rather than test edits. Over to you, @jonathanpeppers — happy to help with either once you decide the direction.
Correct invalid test project references and retain the previous .NET SDK build until the missing ProjectReference restore regression is fixed upstream. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: cdefff9b-d42a-4354-8e8a-a0ea9f9afbb1
This pull request updates the following dependencies
From https://github.com/dotnet/dotnet