Repository navigation
Add hint for trimming System.Runtime in test109242 - #125948
Merged
Merged
Conversation
Started failing in outerloops. ``` System.IO.FileNotFoundException: Cannot load assembly 'System.Runtime'. No metadata found for this assembly. at System.Reflection.Assembly.Load(String) at Test109242.TestEntryPoint() at Program.<<Main>$>g__TestExecutor6|0_7(StreamWriter, StreamWriter, Program.<>c__DisplayClass0_0&) ```
Member
Author
|
/azp run runtime-nativeaot-outerloop |
Contributor
|
Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes an outerloop trimming failure in test109242 by ensuring System.Runtime is preserved so the test’s explicit Assembly.Load("System.Runtime") continues to succeed under trimming.
Changes:
- Add a trimming “root” hint via
Type.GetType("System.Object, System.Runtime")to keepSystem.Runtimeavailable at runtime.
This was referenced Mar 23, 2026
Open
jkotas
approved these changes
Mar 23, 2026
Member
Author
|
/ba-g the windows build breaks were fixed in #125946 |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Started failing in outerloops.