[release/11.0.1xx-preview5] Update dependencies from dotnet/dotnet#25556
Conversation
…522.18 On relative base path root Microsoft.NET.Runtime.MonoTargets.Sdk , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26256.105 -> To Version 11.0.0-preview.5.26272.118 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.SharedFramework.Sdk From Version 11.0.0-beta.26256.105 -> To Version 11.0.0-beta.26272.118 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26256.105 -> To Version 0.11.5-preview.26272.118 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26256.105 -> To Version 11.0.100-preview.5.26272.118
.net ChangeLog for #25556Level 1Level 2
Generated using https://github.com/spouliot/dotnet-tools/tree/master/changelog |
…date dependencies from dotnet/dotnet
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
❌ [CI Build #6006ace] Prepare .NET Release failed ❌The following jobs reported a non-successful result:
📦 Signed NuGet packages (32 packages)iOS
MacCatalyst
macOS
tvOS
Other
Pipeline on Agent |
The ILLink now understands typeof(T).Assembly.GetType(string) patterns (dotnet/runtime#127319), so it preserves types referenced by constant string arguments. Append WorkAroundLinkerHeuristics to break constant folding and prevent the linker from resolving the type names. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The new ILLink version more aggressively stubs method bodies that have no remaining callers. On MacCatalyst (TrimMode=partial), after our OptimizeGeneratedCodeStep inlines the GetIsARM64CallingConvention value at all call sites, the linker sees the method has no callers and replaces its body with 'ldnull; throw'. Update the test to accept either outcome: - ldc.i4.X; ret (optimized by our step) - ldnull; throw (linker stubbed after optimization) Both outcomes indicate successful optimization. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The new ILLink (dotnet/runtime#127319) understands the pattern typeof(T).Assembly.GetType("string") and preserves referenced types. This caused IsLinkAny to incorrectly return false because the sentinel types (System.Action`14, System.DBNull, etc.) were now preserved by the linker's dataflow analysis. Fix by appending a runtime-computed empty string (WorkAroundLinkerHeuristics) to break the linker's constant-string resolution. This is the same approach used in PreserveTest.cs for the SmartEnumTest.AVMediaTypes fix. This fixes both ProtocolsTrimmedAway and GetConstant test failures in monotouch-test with managed-static-registrar on MacCatalyst. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…LR finds System.Private.CoreLib.dll (#25562) ### Description When CoreCLR starts, AssemblyBinderCommon::BindToSystem loads System.Private.CoreLib.dll. It first looks next to libcoreclr, and if that fails it runs a fallback path. In .NET 11 preview 5, dotnet/runtime#128278 changed the fallback to read CoreLib from the single-file bundle's extraction directory, and gated it on Bundle::AppIsBundle() && Bundle::AppBundle->HasExtractedFiles(). Those two flags are set from the host. AppIsBundle() requires the host to register a bundle_probe callback on host_runtime_contract, and HasExtractedFiles() requires the host to return a path from the BUNDLE_EXTRACTION_PATH runtime property. The primary lookup fails on Apple mobile device, because libcoreclr ships inside Frameworks/libcoreclr.framework/libcoreclr while System.Private.CoreLib.dll lives at the app bundle root, so CoreLib is never next to libcoreclr. ### Fix Register a no-op bundle_probe and provide BUNDLE_EXTRACTION_PATH with the directory containing System.Private.CoreLib.dll (app bundle root, then .xamarin/<RID>), so the gate passes and BindToSystem resolves CoreLib from that directory. Fixes #25542 --------- Co-authored-by: Milos Kotlar <miloskotlar@github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Milos Kotlar <kotlarmilos@gmail.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…527.19 On relative base path root Microsoft.NET.Runtime.MonoTargets.Sdk , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26256.105 -> To Version 11.0.0-preview.5.26277.119 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.SharedFramework.Sdk From Version 11.0.0-beta.26256.105 -> To Version 11.0.0-beta.26277.119 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26256.105 -> To Version 0.11.5-preview.26277.119 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26256.105 -> To Version 11.0.100-preview.5.26277.119
…date dependencies from dotnet/dotnet
This comment has been minimized.
This comment has been minimized.
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
✅ [PR Build #73520ae] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #73520ae] Build passed (Build packages) ✅Pipeline on Agent |
✅ [PR Build #73520ae] Build passed (Build macOS tests) ✅Pipeline on Agent |
🔥 [CI Build #73520ae] Test results 🔥Test results❌ Tests failed on VSTS: test results 1 tests crashed, 44 tests failed, 127 tests passed. Failures❌ fsharp tests2 tests failed, 2 tests passed.Failed tests
Html Report (VSDrops) Download ❌ interdependent-binding-projects tests2 tests failed, 2 tests passed.Failed tests
Html Report (VSDrops) Download ❌ introspection tests6 tests failed, 3 tests passed.Failed tests
Html Report (VSDrops) Download ❌ linker tests (iOS)2 tests failed, 9 tests passed.Failed tests
Html Report (VSDrops) Download ❌ linker tests (MacCatalyst)2 tests failed, 9 tests passed.Failed tests
Html Report (VSDrops) Download ❌ linker tests (tvOS)2 tests failed, 9 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (iOS)🔥 Failed catastrophically on VSTS: test results - monotouch_ios (no summary found). Html Report (VSDrops) Download ❌ monotouch tests (MacCatalyst)9 tests failed, 18 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (macOS)6 tests failed, 14 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (tvOS)9 tests failed, 15 tests passed.Failed tests
Html Report (VSDrops) Download ❌ Tests on macOS Sonoma (14) tests4 tests failed, 1 tests passed.Failed tests
Html Report (VSDrops) Download Successes✅ cecil: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sequoia (15): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
…528.6 On relative base path root Microsoft.NET.Runtime.MonoTargets.Sdk , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26256.105 -> To Version 11.0.0-preview.5.26278.106 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.SharedFramework.Sdk From Version 11.0.0-beta.26256.105 -> To Version 11.0.0-beta.26278.106 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26256.105 -> To Version 0.11.5-preview.26278.106 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26256.105 -> To Version 11.0.100-preview.5.26278.106
…date dependencies from dotnet/dotnet
…529.10 On relative base path root Microsoft.NET.Runtime.MonoTargets.Sdk , Microsoft.NET.ILLink , Microsoft.NET.ILLink.Tasks , Microsoft.NETCore.App.Ref From Version 11.0.0-preview.5.26256.105 -> To Version 11.0.0-preview.5.26279.110 Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.SharedFramework.Sdk From Version 11.0.0-beta.26256.105 -> To Version 11.0.0-beta.26279.110 Microsoft.DotNet.Cecil From Version 0.11.5-preview.26256.105 -> To Version 0.11.5-preview.26279.110 Microsoft.NET.Sdk , Microsoft.TemplateEngine.Authoring.Tasks From Version 11.0.100-preview.5.26256.105 -> To Version 11.0.100-preview.5.26279.110
…date dependencies from dotnet/dotnet
This pull request updates the following dependencies
From https://github.com/dotnet/dotnet