docchang
docchang

Reputation: 1125

Trouble adding package System.Data.Common

I'm building a console project using Xamarin 6.1.1 on Mac OS X 10.11.6. enter image description here

I've attached a screenshot of my current installed packages. I've tried adding both System.Data.Common 4.0.0 and 4.1.0 all end up with the same error. enter image description here

ERROR: "Could not install package 'System.Data.Common 4.1.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.5', 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 idea on how to resolve this issue?

enter image description here

Upvotes: 1

Views: 572

Answers (1)

Jason
Jason

Reputation: 89179

the nuget page for System.Data.Common lists the supported frameworks - for .NET you need to be sure your project targets 4.5.1

Upvotes: 3

Related Questions