Error: newtonsoft.json library it referenced did not contain a reference to monotouch.droid.
See original GitHub issueXamarin project made a .net standard(1.4) shared project and tried referencing this library from it. I tried making a build which said that the newtonsoft.json library it referenced did not contain a reference to monotouch.droid.
Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly ‘Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, …’. Perhaps it doesn’t exist in the Mono for Android profile? File name: ‘Newtonsoft.Json.dll’ at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel) at Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver resolver) SmartHotel.Clients.Android
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (7 by maintainers)
Top GitHub Comments
I tried to upgrade the Rx extensions to v4, but this broke the .net native UWP pipeline in my other project (it simply froze). Until this is resolved it will need to stay on 3.1.1
Okay, that’s the problem. This library is targeting System.Reactive 3.1.1. So you have two options: