|Title:||Build warning with 1.0.95 EF6 package|
|Last Modified:||2015-03-04 19:35:11|
|Version Found In:||1.0.95|
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=188.8.131.52, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "System.Data.SQLite, Version=184.108.40.206, 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.