Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.OData.Client not working in Xamarin projects #1382

Closed
JanKonopka opened this issue Jan 24, 2019 · 2 comments
Closed

Microsoft.OData.Client not working in Xamarin projects #1382

JanKonopka opened this issue Jan 24, 2019 · 2 comments
Assignees
Labels
client only related to OData.Client investigating question

Comments

@JanKonopka
Copy link

Microsoft.OData.Client doesn't work with newest version of Visual Studio and Xamarin projects.

Assemblies affected

All that I tested.

Reproduce steps

  1. Create new Xamarin.Forms app in Visual Studio.
  2. Add new Connected Service using odata client.
  3. Any request made simply hangs.

In VS 15.7.6 requests pass in Android (although bad requests are not caught), still doesn't work on iOS.

@KanishManuja-MS
Copy link
Contributor

@JanKonopka Can you help us reproduce this at our end? Any sample projects would be appreciated.
Do you know if this works with the previous version of visual studio as your descriptions hints towards visual studio is the culprit here?

@madansr7 madansr7 added the client only related to OData.Client label Jun 5, 2019
@marabooy marabooy self-assigned this Jan 29, 2020
@marabooy
Copy link
Member

marabooy commented Feb 3, 2020

@JanKonopka The issue was fixed in https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes#15.9.7 and mono/mono#10488
Upgrading to either VS2019 or VS2017 15.9.7 should sort it out. Kindly do let me know if you face any issue related to this so we can reopen the issue.

Also do make sure to run the queries using the exposed async api's e.g
var airlines = await container.Airlines.ExecuteAsync() to get airlines from a service

@marabooy marabooy closed this as completed Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client only related to OData.Client investigating question
Projects
None yet
Development

No branches or pull requests

5 participants