Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Doesn't connect with xamarin forms #1518

Closed
@neville-nazerane

Description

@neville-nazerane

When I try the following

  1. Create a new Xamarin Forms project
  2. Update all release packages
  3. Run Install-Package Microsoft.AspNetCore.SignalR.Client -Version 1.0.0-preview1-final on the portable project
  4. Run the android project

I find the following error:

"Could not load assembly 'System.Threading.Tasks.Extensions' during startup registration".

I have tried installing the latest pre-release of System.Threading.Tasks.Extensions. Still no change in the error.

Update
I have found the same error on xamarin versions "2.5.0.122203", "2.5.0.280555", "2.5.1.317207-pre1"

I get the same error with web socket client nuget as well for "2.5.0.280555" and "2.5.1.317207-pre1" but NOT on "2.5.0.122203".

Activity

davidfowl

davidfowl commented on Mar 1, 2018

@davidfowl
Member

Are you using the latest version of Xamarin?

neville-nazerane

neville-nazerane commented on Mar 1, 2018

@neville-nazerane
Author

Yes, I install create a new Xamarin Forms project and update all nuget packages (without pre-releases) and then to ahead with step 3.

shao200

shao200 commented on Mar 6, 2018

@shao200

I too

UncleSamSwiss

UncleSamSwiss commented on Mar 8, 2018

@UncleSamSwiss

Same here.

added this to the 2.1.0-rc1 milestone on Mar 16, 2018
FrancoisM

FrancoisM commented on Apr 4, 2018

@FrancoisM

Wrt the AOT compilation error, I've put together a simple repro on github and explained the issue on stackoverflow.

davidfowl

davidfowl commented on Apr 4, 2018

@davidfowl
Member

Sweet!

davidfowl

davidfowl commented on Apr 6, 2018

@davidfowl
Member

Closing see #1886

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @analogrelay@davidfowl@FrancoisM@shao200@HaoK

      Issue actions

        Doesn't connect with xamarin forms · Issue #1518 · aspnet/SignalR