When I add the Amazon S3 Nuget package to the xamarin Android application, I get the following error:
Severity Code Description Project File Line Suppression State
Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Net.Http.Primitives, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Net.Http.Primitives.dll'
at Xamarin.Android.Tuner.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
at Xamarin.Android.Tasks.ResolveAssemblies.Execute() ContentUpdater
Any idea how to solve this problem?
Nick.
Update: I just tried the same with the Windows 10 Universal App, and I get this,
Severity Code Description Project File Line Suppression State
Error Cannot resolve Assembly or Windows Metadata file 'System.Net.Http.Primitives.dll' WindowsContentUpdater C:\devoctomy\GitHub\ContentUpdater\WindowsContentUpdater\WindowsContentUpdater.csproj
Is the S3 library broken or something else?
source
share