I created a portable class library that should be used in the xamarin project, I deleted the Microsoft.VisualBasic link explicit in Project. Using the library in the xamarin project causes the following compilation error:
Assembly loading exception: System.IO.FileNotFoundException: Failed to load assembly "Microsoft.VisualBasic, Version = 10.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a '. Perhaps this does not exist in the Mono profile for Android? Dateiname:" Microsoft .VisualBasic.dll "bei Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve (AssemblyNameReference link, ReaderParameters parameters) bei Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences (ICollection 1
assemblies, AssemblyDefinition assembly, Boolean topLevel) bei
Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection1 assemblies, AssemblyDefinitioni Tasks.ResolveAssemblies.Execute ()
When I inspected the DLL file using the dependency host (ildasm.exe), I noticed that Microsoft.VisualBasic was listed as a dependency:
.assembly extern Microsoft.VisualBasic
{
.publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
.ver 10:0:0:0
}
- , Microsoft.VisualBasic ?
Ced