question

ChetraThinakaran-9573 avatar image
0 Votes"
ChetraThinakaran-9573 asked

system.runtime.loader

I am using VS 2019, version 16.4.2 and Xamarin Android version 10.1.1 and Mono Android version 9.0.

I have an Xamarin Android project and a Class Library(.Net Standard 2.0) in a solution. I am using castle.windsor (installed from nuget manager) in the class library. I am able to build and run the android app, but when it hits a method in the class library that uses "AssemblyLoadContext" then it breaks with error 'Could not load file or assembly 'System.Runtime.Loader, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.'.

Please help me to resolve this.

Thanks in advance,

qna-feedback
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers