Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Commented Unassigned: Can't install SSH.NET into Xamarin Android Project [2806]

$
0
0
When using NuGet Package Manager (latest version) to install SSH.NET into a Xamarin Android project in Visual Studio 2015 Community Edition, I get the following error - is there anything I can do about this or is it just not going to fly?

Thanks in anticipation - Tim

Attempting to gather dependency information for package 'SSH.NET.2013.4.7' with respect to project 'TaskyAndroid', targeting 'MonoAndroid,Version=v6.0'
Attempting to resolve dependencies for package 'SSH.NET.2013.4.7' with DependencyBehavior 'Lowest'
Resolving actions to install package 'SSH.NET.2013.4.7'
Resolved actions to install package 'SSH.NET.2013.4.7'
Install failed. Rolling back...
Package 'SSH.NET.2013.4.7' does not exist in project 'TaskyAndroid'
Package 'SSH.NET.2013.4.7' does not exist in folder 'C:\Users\Tim\Downloads\Tasky\packages'
Could not install package 'SSH.NET 2013.4.7'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
========== Finished ==========
Comments: ** Comment from web user: TimHaydnJones **

Thanks drieseng. I can confirm that SSH.NET beta 3 was successfully installed into my Xamarin project but it seems to have brought a new issue with it and provokes the following error on building the project

Severity Code Description Project File Line
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() TaskyAndroid

Any suggestions pls?

Thanks

Tim


Viewing all articles
Browse latest Browse all 1026

Trending Articles



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