-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Unhandled Exception]: System.ObjectDisposedException: This object is no longer valid because the MetadataLoadContext that created it has been disposed. #11242
Comments
It's quite possible that there is parent msbuild process and multiple child msbuild processes running in parallel |
Thank you @pavelsavara for reporting! On a first look it doesn't seem like msbuild would do anything wrong here - this seems to go from the type system. @janvorli - would you be able to suggest who should have a look here? |
@davidwrighton do you have any thoughts on this? |
I don't see any way for it looks to me like the call to Convert.ToString(...) in the |
We could probably check to see if this is what is happening by building a custom copy of msbuild, that looked for creation of |
Issue Description
Log
Steps to Reproduce
I don't know how to reproduce.
It happened only once AFAIK during
Wasm.Build.Tests.PInvokeTableGeneratorTests
ofdotnet/runtime
build.Since it happened on Helix machine I also don't have the detailed log.
Actual Behavior
No exception
Analysis
No response
Versions & Configurations
No response
The text was updated successfully, but these errors were encountered: