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

Cannot install plugin to PCL #118

Open
yshteinm opened this issue Dec 21, 2016 · 16 comments · May be fixed by #123
Open

Cannot install plugin to PCL #118

yshteinm opened this issue Dec 21, 2016 · 16 comments · May be fixed by #123

Comments

@yshteinm
Copy link

Severity Code Description Project File Line Suppression State
Error Could not install package 'Xam.Plugins.Forms.Svg 1.0.0.27'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', 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.

What are supported PCL profiles?

@BenDevelopment
Copy link

Same problem here

@ghost
Copy link

ghost commented Jan 11, 2017

I was able to download the repro, the update, build, and run the SVG project on iOS and Android. No issues at all. Targets all the latest Xamarin Forms NuGet packages and .NET 4.5

Thank you for such a great tool.

Karl

@chris-ryu
Copy link

I have same problem also.
PCL projects only.

@riandesign
Copy link

@kdawg1406 , but did you install it in PCL? How did you get it work?

@ghost
Copy link

ghost commented Jan 26, 2017

@riandesign I was able to download the repro, the update, build, and run the SVG project on iOS and Android. No issues at all. Targets all the latest Xamarin Forms NuGet packages and .NET 4.5

Yes, I have a PCL, Xamarin Forms app. Works great.

@chris-ryu
Copy link

@kdawg1406, Have you installed 1.0.0.27?
I think current version not compatible with Xamarin.Forms (2.3.x)

Install failed. Rolling back...
Package 'Xam.Plugins.Forms.Svg.1.0.0.27 : Xamarin.Forms [2.0.0.6490, )' does not exist in project '...'

@L4rS6
Copy link

L4rS6 commented Feb 10, 2017

Same problem here with version 1.0.0.27 and XF version 2.3.3.193:
Package 'Xam.Plugins.Forms.Svg.1.0.0.27 : Xamarin.Forms [2.0.0.6490, )' does not exist in project xyz

@L4rS6
Copy link

L4rS6 commented Feb 10, 2017

I solved it by setting an other Profile. Open options --> Build: General and select a different Profile (I selected PCL 4.5 - Profile49). Now you can install the pkg.

@kikolopes90
Copy link

Same problem here

@kikolopes90
Copy link

kikolopes90 commented Feb 24, 2017

@wiesnery
Copy link

So on which profile did you set it? And will it have any consequences?

@kikolopes90
Copy link

kikolopes90 commented Feb 27, 2017

For example, "Profile259" to "Profile78" and install nuget, then you can change back to "Profile259"

@kikolopes90
Copy link

KeyboardOverlap for Xamarin.Forms not work!

It's the same problem =/

@jeremymelchor
Copy link

I had the same issue, I removed the Windows Phone 8.1 target and the installation succeded.
I'm using .Net 4.5 with Xamarin Forms v2.3.3.193

@rapcgutz
Copy link

On your PCL project solution, Right click and open on Text editor and try yo change Profile111 to Profile78.

@LightVolk
Copy link

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

Successfully merging a pull request may close this issue.

10 participants