Skip to content

Some packages are not compatible with UAP,Version=v10.0 #745

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

Closed
shahthepro opened this issue Aug 28, 2015 · 47 comments
Closed

Some packages are not compatible with UAP,Version=v10.0 #745

shahthepro opened this issue Aug 28, 2015 · 47 comments

Comments

@shahthepro
Copy link

I have VS 2015 community with Windows SDK for Universal Apps installed on a Windows 10 Pro x64 OS. Everytime I try to install RestSharp using NuGet, I get the following error.

"Install-Package : Some packages are not compatible with UAP,Version=v10.0"

@hallem
Copy link
Member

hallem commented Aug 28, 2015

There is no support for this project type yet.

@hallem hallem closed this as completed Aug 28, 2015
@shahthepro
Copy link
Author

Is there any plans in the near future?

@hallem
Copy link
Member

hallem commented Aug 29, 2015

Not right now no but I'll add this as a feature request.

@hallem hallem reopened this Aug 29, 2015
@akshay2000
Copy link

I came here looking for this. It would be great to have UWP support since that seems the way from now on.

@hallem
Copy link
Member

hallem commented Aug 30, 2015

It's still very new. I'll see what I can do to get it in. My development environment isn't windows 10 yet so it will have to wait for that change to happen.

@dpakpaul
Copy link

Yeah, would be great to have Win 10 UWP support. There are only a couple of decent REST wrappers for .Net out there - this one and PortableREST.

@hallem
Copy link
Member

hallem commented Sep 18, 2015

no problem. i'm working on getting a windows 10 environment set up so this can happen.

@shahthepro
Copy link
Author

That's a great news to hear. I'll be waiting for this update. 👍

@vbandi
Copy link

vbandi commented Sep 21, 2015

I just want to say +1... I'd love to have RestSharp for my UWP projects.

@mjwsteenbergen
Copy link
Contributor

@hallem Any updates on this issue?

@Mikrolous
Copy link

I've the same problem.

@calloncampbell
Copy link

Want support for UWP too please!

@wbsimms
Copy link

wbsimms commented Dec 20, 2015

+1

5 similar comments
@RoRoche
Copy link

RoRoche commented Jan 5, 2016

+1

@ToyMakerGR
Copy link

+1

@nielsabels
Copy link

+1

@mateialexandru
Copy link

+1

@rcbevans
Copy link

+1

@schrooom
Copy link

+1 Any updates?

@JoshuaKGoldberg
Copy link

+1

@hallem
Copy link
Member

hallem commented Feb 27, 2016

code for UWP support has been checked into master but nuget support is still pending. i or the PR author need to add the targeting to the build scripts

@schrooom
Copy link

schrooom commented Mar 2, 2016

@hallem Thanks, but this only works for x64 and x86 while it does not work for ARM-devices (e,g. Windows 10 Mobile), any plans for that?

@ndeeH
Copy link

ndeeH commented Mar 11, 2016

Is the API now ready for ARM?

@schrooom
Copy link

@weird-dreams Still waiting for a statement of @hallem , hopefully it will be added soon :)

@ndeeH
Copy link

ndeeH commented Mar 11, 2016

Please support ARM - we are building a continuum experience on a ARM device!

@ndeeH
Copy link

ndeeH commented Mar 14, 2016

please support "UAP,Version=v10.0" fully (x86,x64,ARM).
Swagger creates good proxies but they do not work on my phone + desktop (continuum!) without RestSharp.

+++++1

@JaykeBird
Copy link

+1

@emigrating
Copy link

+2

@jerry1621 any chance you could share the modifications you made as referenced in the swagger-codegen thread? I attempted to copy your steps but it's not working.

@schrooom
Copy link

schrooom commented Apr 4, 2016

@emigrating sure: I just edited the build.bat and added a few lines for UWP
e.g. there are these download-directories created by:
if not exist Download\package\lib\net35 mkdir Download\package\lib\net35\ if not exist Download\package\lib\net4 mkdir Download\package\lib\net4\ if not exist Download\package\lib\net4-client mkdir Download\package\lib\net4-client\ if not exist Download\package\lib\net45 mkdir Download\package\lib\net45\ [...]

so just add a line for uwp, too
if not exist Download\package\lib\uwp mkdir Download\package\lib\uwp\

Simply complete the build.bat by adding uwp-statements to the other statements

@fobo66
Copy link

fobo66 commented Jun 30, 2016

What we can do to support UWP?

@AuroraDysis
Copy link

+1

3 similar comments
@tibitoth
Copy link

tibitoth commented Aug 2, 2016

+1

@npjk
Copy link

npjk commented Oct 11, 2016

+1

@RaminMT
Copy link

RaminMT commented Nov 20, 2016

+1

@ndeeH
Copy link

ndeeH commented Nov 28, 2016

Still no support for UWP apps on an ARM device?
Please invest some time in supporting this...
Thank you!

@mavanmanen
Copy link

Still no support....

@alexeyzimarev
Copy link
Member

We will only support .NET Standard 2.0. UWP that is compatible with .NET Standard is in preview.

@mavanmanen
Copy link

But .net standard 2.0 support for RestSharp isn't released yet is it? Tried to use it in a .net Core 2.0 project before and it was broken. Is a pre-release for that available somewhere?

@alexeyzimarev
Copy link
Member

It is in preview too, from today. Would be great if you can test. https://www.nuget.org/packages/RestSharp/106.0.0-alpha0277

@alexeyzimarev
Copy link
Member

UWP & .NET Standard 2.0: A preview is now available
https://blogs.msdn.microsoft.com/dotnet/2017/08/25/uwp-net-standard-2-0-preview/

We will support UWP as any other platform by supporting .NET Standard 2.0. There will be no separate package for UWP.

@mavanmanen
Copy link

Absolutely great, thanks!

@mavanmanen
Copy link

mavanmanen commented Oct 16, 2017

{System.PlatformNotSupportedException: Operation is not supported on this platform.
   at System.Net.SystemWebProxy.GetProxy(Uri destination)
   at System.Net.ServicePointManager.ProxyAddressIfNecessary(Uri& address, IWebProxy proxy)
   at System.Net.ServicePointManager.FindServicePoint(Uri address, IWebProxy proxy)
   at System.Net.HttpWebRequest.get_ServicePoint()
   at RestSharp.Http.ConfigureWebRequest(String method, Uri url)
   at RestSharp.Http.GetStyleMethodInternal(String method)
   at RestSharp.Http.AsGet(String httpMethod)
   at RestSharp.RestClient.DoExecuteAsGet(IHttp http, String method)
   at RestSharp.RestClient.Execute(IRestRequest request, String httpMethod, Func`3 getResponse)}

@alexeyzimarev
Copy link
Member

Well, they are in preview, expect things to improve closer to release. You can also help them by submitting issue reports.

@alexeyzimarev
Copy link
Member

But we also plan moving to HttpClient, but this work is not easy. I have tried but then decided to postpone it. If some is willing to help - please, submit a PR. With HttpClient things will be more compatible.

@mavanmanen
Copy link

I'll take a look at the current code and see if I can do anything to help with the change to HttpClient.

@alexeyzimarev
Copy link
Member

alexeyzimarev commented Oct 16, 2017

The alpha version is being published from develop branch. Most probably I will have to release as-is with web request. HttpClient can be done right after that. I would prefer the work on HttpClient replacing WebRequest to be started in a fork or separate branch. But literally this is days of work, not hours.

@alexeyzimarev
Copy link
Member

@mavanmanen it seems like a general issue, please switch to #992 to continue the discussion

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

No branches or pull requests