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

Nuget 3.0 Regression cannot install for PCL Profile 7 #257

Closed
kjeremy opened this issue Aug 17, 2016 · 7 comments
Closed

Nuget 3.0 Regression cannot install for PCL Profile 7 #257

kjeremy opened this issue Aug 17, 2016 · 7 comments
Labels
Milestone

Comments

@kjeremy
Copy link

kjeremy commented Aug 17, 2016

In attempting to upgrade refit from 2.4.1 to 3.0 I am getting the following error:

Could not install package 'System.Runtime.InteropServices.RuntimeInformation 4.0.0'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile7', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

@clairernovotny
Copy link
Member

Unfortunately this is a bug in the Sys.Runtime.InteropServices.RuntimeInformation package: https://github.com/dotnet/corefx/issues/10445. when trying to install into a "netstandard 1.1" profile-based PCL (like 7 or 111).

The workaround for now is to use project.json and a netstandard1.1 library. Any project type can use .net standard.

@joaoasilva
Copy link

I'm using Xamarin and I'm trying to install refit on my Portable project, can anyone explain how can I fix this? How do I use project.json and netstandard1.1 if I'm using mono?
Thanks

@ahmedalejo
Copy link

I'd recommend using version 2.0.0+ there are some issues with v3.0.0
On Tue, Sep 13, 2016 at 9:35 AM joaoasilva notifications@github.com wrote:

I'm using Xamarin and I'm trying to install refit on my Portable project,
can anyone explain how can I fix this? How do I use project.json and
netstandard1.1 if I'm using mono?
Thanks


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#257 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGr-6v1tluSlTs9D9U9icjoWD1g5knNcks5qppifgaJpZM4Jmezu
.

@clairernovotny
Copy link
Member

I don't think supports .NET Standard yet, but I believe they're working on it. Xamarin Studio just got support for it in the stable branch on Tuesday.

@rranjithkumar100
Copy link

rranjithkumar100 commented Jan 7, 2017

In Xamarin Studio 3+ version not installed.. but 2.4 refit installed successfully.

Shall I use this lower version?

@clairernovotny
Copy link
Member

XS supports .NET Standard Libraries. There may be a bug with the NETStandard.Library 1.6.0 which is resolved by installing NETStandard 1.6.1 first.

@clairernovotny clairernovotny added this to the v3.1 milestone Jan 22, 2017
@clairernovotny
Copy link
Member

Will be fixed in 3.1

@lock lock bot added the outdated label Jun 25, 2019
@lock lock bot locked and limited conversation to collaborators Jun 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants