Sqlite-net: 1.3.1 IOS Target depends upon Microsoft.Win32.Primitives 4.0.1

Created on 23 Jan 2017  路  3Comments  路  Source: praeclarum/sqlite-net

When I try to update my solutions sqlite-net package to 1.3.1 from 1.2.0 I get the following error:

"Could not install package 'Microsoft.Win32.Primitives 4.0.1'. You are trying to install this package into a project that targets 'Xamarin.iOS,Version=v1.0', 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."

I'm unsure as to why you would include a win32 package as a dependency for an iOS target, or am I just doing something wrong?

Bug

Most helpful comment

Also happy 500th Issue

All 3 comments

Also happy 500th Issue

Yeah, me, too. Took a basic Xamarin Forms project with a PCL and Android projects.

I got this:

You are trying to install this package into a project that targets '.NETPortable,Version=v4.6,Profile=Profile44', but the package does not contain any assembly references or content files that are compatible with that framework

Did I get this wrong? It installed just fine in the UWP and Droid related projects.

This has been fixed with version 1.4.

@nhwilly I cannot test profile 44. May I suggest switch to one of the more common ones such as 111 or 259? Even better the library now supports .NET Standard 1.1.

Sorry for the trouble!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

santiagohdzb picture santiagohdzb  路  3Comments

danielPollackGitHub picture danielPollackGitHub  路  5Comments

plamen-i picture plamen-i  路  6Comments

pha3z picture pha3z  路  4Comments

georgepiva picture georgepiva  路  5Comments