-
Assemblies in the default domain.
Files that need to be referenced in the actual dynamic compilation environment.
Is there a way to get a reference through Assembly? (Assembly.Location is null) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
There is I'm not aware of anything you could do in the meantime. |
Beta Was this translation helpful? Give feedback.
There is
MetadataReference.CreateFromAssembly
, which could look promising, but it's obsolete and doesn't work for assemblies withoutLocation
anyway. I have a PR open to change that: #57910.I'm not aware of anything you could do in the meantime.