lex.db icon indicating copy to clipboard operation
lex.db copied to clipboard

Unable to target portable .NET profile 111

Open Programm3r opened this issue 8 years ago • 4 comments

Hi,

Recently I tried to update to version 1.2.6 of Lex.Db, but was confronted with the following error:

Could not install package 'Lex.Db 1.2.6'. 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.

This is selected PCL profile: image

Could you please assist? Kind regards, Richard

Programm3r avatar Jan 05 '16 08:01 Programm3r

I think .NET Core (ASP.NET Core 5.0) is the problem. As soon as .NET Core hits stable milestone, I look into this issue. AFAIK, currently there is no known release date for .NET Core 1.0.0.

If you need .NET Core support sooner, you may try to compile it yourself. Reference source code how it is done for various platform. I'll gladly accept the pull request regarding this issue.

demigor avatar Jan 05 '16 10:01 demigor

HI,

Many thanks for your assistance as well as response! I will try to remove the Core selection from the list and see whether it makes a difference.

Many thanks again! Richard

Programm3r avatar Jan 05 '16 10:01 Programm3r

Hi,

Same story when I tried to update another project of mine:

'Lex.Db 1.2.6' already installed. Adding 'Lex.Db 1.2.6' to Foo.App.Shared. Could not install package 'Lex.Db 1.2.6'. You are trying to install this package into a project that targets 'portable-net451+win81+wpa81', 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.

Profile: image

Any reason why this would be happening? Thanks again!

Programm3r avatar Jan 12 '16 14:01 Programm3r

.NET Core just hit the v1.0.0!

Is there a way you could consolidate LexDB into a single lib? So When I have a PCL with .net 4.5 / uwp / WP etc. I can install it there directly?

bezysoftware avatar Jun 29 '16 08:06 bezysoftware