SignalR icon indicating copy to clipboard operation
SignalR copied to clipboard

Could not load assembly

Open elusiven opened this issue 8 years ago • 3 comments

Hi

Trying to install asp net core signalr client on to my xamarin.forms app. I make a brand new xamarin.forms project, then install the signalr client, lastest preview version and an error pop ups. Does this actually works or is using signalr in a xamarin app impossible yet? I need to know since it's part of my dissertation project.


Severity	Code	Description	Project	File	Line	Suppression State
Error		Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Memory, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'System.Memory.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.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
   at Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver resolver)	App1.Android			

elusiven avatar Apr 22 '18 13:04 elusiven

Closing as dupe of https://github.com/aspnet/SignalR/issues/1886. We'll get an update from the Xamarin team to see if there's a version of Visual Studio that supports this.

davidfowl avatar Apr 22 '18 14:04 davidfowl

VS 15.7 the same story.

HelloMyDevWorld avatar May 06 '18 06:05 HelloMyDevWorld

@patsadow2 Can you put specific details in the linked issue so we can get somebody from the Xamarin team to look at it?

davidfowl avatar May 06 '18 06:05 davidfowl