Android application type
Classic Xamarin.Android (MonoAndroid12.0, etc.), Android for .NET (net6.0-android, etc.)
Affected platform version
VS 2022
Description
Attempting to call LoadFromStream(Stream, Stream) raises a Not Implemented exception.
PR #5940 gave support for most AssemblyLoadContext functions, but it seems LoadFromStream including symbols was missed.
Steps to Reproduce
- Call
AssemblyLoadContext.LoadFromStream(Stream, Stream)
Did you find any workaround?
A workaround seems to be to write out the dll and pdb data to a temporary file and load it from there using AssemblyLoadContext.LoadFromAssemblyPath, or use embedded debug symbols in the loaded DLL (only applicable if you have control over the DLL build).
Relevant log output
No response
Android application type
Classic Xamarin.Android (MonoAndroid12.0, etc.), Android for .NET (net6.0-android, etc.)
Affected platform version
VS 2022
Description
Attempting to call LoadFromStream(Stream, Stream) raises a Not Implemented exception.
PR #5940 gave support for most AssemblyLoadContext functions, but it seems LoadFromStream including symbols was missed.
Steps to Reproduce
AssemblyLoadContext.LoadFromStream(Stream, Stream)Did you find any workaround?
A workaround seems to be to write out the dll and pdb data to a temporary file and load it from there using
AssemblyLoadContext.LoadFromAssemblyPath, or use embedded debug symbols in the loaded DLL (only applicable if you have control over the DLL build).Relevant log output
No response