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

Updatable to NETPortable 4.5? #31

Open
rogercorrea opened this issue Nov 4, 2018 · 1 comment
Open

Updatable to NETPortable 4.5? #31

rogercorrea opened this issue Nov 4, 2018 · 1 comment

Comments

@rogercorrea
Copy link

Please,

I try update to version 1.0.11 but doesn't work because show a error message: "Could not install package 'Plugin.GridViewControl 1.0.11'. 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."

As I can resolve it?

@NobsterTheLobster
Copy link
Owner

Well the project was built with the fall-back profile attribute for non .NET standard projects. I
followed the guide here https://xamarinhelp.com/upgrade-pcl-net-standard-class-library/.

netstandard2.0
$(PackageTargetFallback);portable-win+net45+wp8+win81+wpa8

And from this other link https://blog.stephencleary.com/2012/05/framework-profiles-in-net.html the profile definition of "portable-win+net45+wp8+win81+wpa8" does appear to be profile259 so I'm not sure why you would get the error.

I'll leave this open. Presumably other people are having the same problem. Perhaps someone with better knowledge of the tooling can provide some answers. I assume updating your project to .NET standard is out of the question.

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

2 participants