Xamarin.Forms.Plugins icon indicating copy to clipboard operation
Xamarin.Forms.Plugins copied to clipboard

Does not work with Profile111

Open OpticNectar opened this issue 8 years ago • 15 comments

When I try to add this to a project using Profile 111 (what Xlabs requires) it does not work. Most plugins already work with this, could you please update it.

The error I receive:

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=Profile111', 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.

OpticNectar avatar Sep 15 '16 00:09 OpticNectar

Similar case here:

Could not install package 'Xam.Plugins.Forms.RoundedBoxView 1.0.0.7'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile111', 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 should I do?

bodow avatar Sep 15 '16 20:09 bodow

any news on this?

hieumoscow avatar Sep 16 '16 06:09 hieumoscow

I would like an update on Profile 111 support too. Do we just need to upgrade the project with the latest version of Forms and retarget the framework they use?

adamhill avatar Oct 05 '16 21:10 adamhill

I had to pull in the source, update the Forms, and then profile itself. What's the protocol to submit pull request here?

rroman81 avatar Oct 06 '16 21:10 rroman81

Woot!

On Thu, Oct 6, 2016 at 4:00 PM, Roman Rozinov [email protected] wrote:

I had to pull in the source, update the Forms, and then profile itself. What's the protocol to submit pull request here?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/paulpatarinski/Xamarin.Forms.Plugins/issues/107#issuecomment-252087102, or mute the thread https://github.com/notifications/unsubscribe-auth/AALg3sJYARfkmqdmINc8ogJ4cb6c1NDoks5qxWFbgaJpZM4J9ZO9 .

adamhill avatar Oct 06 '16 22:10 adamhill

I had to remove windows 8.1 from the PCL Library Targets

rmcfarlane82 avatar Oct 11 '16 12:10 rmcfarlane82

Is there any progress on this front.

mhashimm avatar Nov 12 '16 09:11 mhashimm

Same issue here, any update when this will be fixed?

ant81584 avatar Jan 10 '17 18:01 ant81584

Same issue here, any update when this will be fixed?

pangia avatar Feb 06 '17 20:02 pangia

I just target .netstandard in the pcl and use project.json

rmcfarlane82 avatar Feb 06 '17 23:02 rmcfarlane82

How do you target .netstandard and use in project.json?

GerryOnGithub avatar Mar 03 '17 20:03 GerryOnGithub

@GerryOnGithub have a look at this link https://xamarinhelp.com/dot-net-standard-pcl-xamarin-forms/

rmcfarlane82 avatar Mar 04 '17 01:03 rmcfarlane82

In my case I was trying to install the SVG plugin, which seems to have an incompatibility with one or more of the 'win' targets (maybe win8, not sure).

Removed all nuget dependencies, then removed the win targets (we are only supporting android/ios) and then restored the dependencies. That was a solution found on stack overflow, worked for me, bit of a pain in the ass.

GerryOnGithub avatar Mar 07 '17 15:03 GerryOnGithub

I also experienced this issue.

rmarskell avatar Mar 15 '17 20:03 rmarskell

How to resolve:

  1. Close VisualStudio
  2. Open your PCL .csproj-File in a texteditor (notepad, sublime...)
  3. Search for the line: <TargetFrameworkProfile>Profile259</TargetFrameworkProfile>
  4. Change the Profile259 to Profile78
  5. Open VisualStudio
  6. Install NuGet-Package
  7. Close VisualStudio
  8. Revert your .csproj changes back to Profile259
  9. Open VisualStudio
  10. Beginn using the package :)

VisionFlare avatar Apr 26 '17 09:04 VisionFlare