entity framework - System.Data.SQLite design-time components in VS2012 targeting .NET 4.0 -


my application targeting .net 4.0 because plan continue support server 2003 , windows xp now. i'm using visual studio 2012 entity framework 4.4 (listed 5.0 in nuget) , system.data.sqlite's ado.net provider v1.0.85.0.

i'm having trouble installing design-time components (1) work in vs2012 , (2) generate models , code targeting .net 4.0. system.data.sqlite package installs design-time components vs2012 assumes .net 4.5 , causes entity framework errors when generating model existing database:

"the data type 'bigint' not supported target .net framework version; column 'id' in table 'main.message' excluded."

"the data type 'binary' not supported target .net framework version; column 'message' in table 'main.message' excluded."

and on...

my current work-around update entity framework model using vs2010 that's quite annoying. there way can install vs2010 design-time components on vs2012? alternatively can vs2012 design-time components configured target .net 4.0?

i've run same issue using .net 4.5. problem seems related sqlite-netfx45-setup-bundle-x86-2012-1.0.86.0. when install sqlite-netfx45-setup-bundle-x86-2012-1.0.84.0 (84 instead of 86) works fine (in .net 4.5 atleast)


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -