Reputation: 137
I have a Xamarin project on my Mac, where I’m trying to get SiganlR to work.
I'm having trouble getting the dll's imported.
I have tried to import the Microsoft.AspNet.SignalR.Client.dll to my Referencer folder in my solution. When I’m adding the dll I get the following message:
Could not get full name for assembly 'mypath/Microsoft.AspNet.SignalR.Client.dll'
And then when I’m trying to build I get another error:
Metadata file `mypath/Microsoft.AspNet.SignalR.Client.dll' does not contain valid metadata.
I'm new in the Xamarin environment, so some help would be appreciated..
Upvotes: 4
Views: 5413
Reputation: 98
I managed to get SignalR working in a Xamarin iOS project via the SignalR Client Nuget Package. I did it via VS.Net rather than Xamarin Studio, however you should be able to use the same package in Xamarin Studio.
If you're using Xamarin Studio on the Mac then you'll have to install the NuGet package manager first, of which there is a pretty good blog post of how to do that here.
Upvotes: 5