System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: 7c569dd61c08bc22bcf664fac33d2bfc073cdd4c
Title: Build warning with 1.0.95 EF6 package
Status: Closed Type: Incident
Severity: Important Priority: Medium
Subsystem: NuGetPackage Resolution: Unable_To_Reproduce
Last Modified: 2015-03-04 19:35:11
Version Found In: 1.0.95
User Comments:
anonymous added on 2015-03-04 07:24:42:
Getting build warning when Building a project targeting .NET 4.5 with the 1.0.95 package in VS 2013 Update 4 (retargeting to 4.5.1 fixes the warning)
Warning	1	The primary reference "System.Data.SQLite.EF6, Version=1.0.95.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "System.Data.SQLite, Version=1.0.95.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139" which was built against the ".NETFramework,Version=v4.5.1" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.5".	ConsoleApplication2

mistachkin added on 2015-03-04 18:39:18:
I have not seen this warning before.  The EF6 NuGet packages (and all the
other ones as well) have different DLLs for each supported version of the
.NET Framework, built using their associated version of Visual Studio.

I'll look into this a bit more.

mistachkin added on 2015-03-04 18:53:16:
I've double-checked all the TargetFramework attributes for the assemblies.  They
appear to be correct.

I suspect that NuGet may be having trouble resolving the System.Data.SQLite with
the correct TargetFramework?

The EF6 package is defined here:

    https://system.data.sqlite.org/index.html/artifact/87661a5bb7

And the core package is defined here:

    https://system.data.sqlite.org/index.html/artifact/2d0ddf8195

I think they are correct, according to the NuGet docs.

mistachkin added on 2015-03-04 19:33:27:
Unable to reproduce the issue here locally.  I've attached the project file and
the "app.config" file from the example project.

mistachkin added on 2015-03-04 19:35:11:
I've also attached the example "packages.config" file.

Attachments: