Quantcast
Channel: sharpcompress Discussions Rss Feed
Viewing all articles
Browse latest Browse all 239

New Post: Using 0.12.1 with Xamarin, failing on System.Security.Cryptography.Primitives

$
0
0
Just created a new Xamarin.Android project in VS2015 and added SharpCompress from nuget. Got 0.12.1. Default app from template, did not add any code to reference SharpCompress. Compiled and got the following error:

Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Security.Cryptography.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Security.Cryptography.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() GetUpdateFromUsb

Created a Xamarin Android project 3 days ago with version 0.11.6 of SharpCompress and it worked just fine.

Am I missing something? Should I be installing System.Security.Cryptography.Primitives from nuget or is something off?

Viewing all articles
Browse latest Browse all 239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>