0
votes

I am trying to install Device LockScreen FormsPinView package in Xamarin forms using PCL but its not install in my PCL project. and facing the below error while doing so.

Could not install package 'FormsPinView 1.1.0'. 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.

Any help is appreciated.

1

1 Answers

0
votes

Convert your project to .NET Standard 2.0 it will solve the issue described above and will help you in many other ways. There are 4 simple steps that you have to make and they are described in this gist, however if you are using Visual Studio for Mac you could automate the conversation process by using extension called Mutation.

You can find more details on the official Xamarin blog.
I also wrote a short article on this topic.

Good luck.