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

Doesn't connect with xamarin forms #1518

Closed
neville-nazerane opened this issue Mar 1, 2018 · 7 comments
Closed

Doesn't connect with xamarin forms #1518

neville-nazerane opened this issue Mar 1, 2018 · 7 comments
Assignees
Labels
cost: M Will take 3 - 5 days to complete status: Investigate Investigation item
Milestone

Comments

@neville-nazerane
Copy link

neville-nazerane commented Mar 1, 2018

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".

@davidfowl
Copy link
Member

Are you using the latest version of Xamarin?

@neville-nazerane
Copy link
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
Copy link

shao200 commented Mar 6, 2018

I too

@UncleSamSwiss
Copy link

Same here.

@FrancoisM
Copy link

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

@davidfowl
Copy link
Member

Sweet!

@davidfowl
Copy link
Member

Closing see #1886

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cost: M Will take 3 - 5 days to complete status: Investigate Investigation item
Projects
None yet
Development

No branches or pull requests

7 participants