Sunday, 15 January 2012

c# - Downgrading Entity Framwork for visual studio 2010 -



c# - Downgrading Entity Framwork for visual studio 2010 -

i accidentally upgraded entity framework ef 6.x working in visual studio 2010 not have dbcontext generator template back upwards ef 6.x, wondering if , how downgrade ef 4.x

i have tried searching in nugget, typing install-package entityframework -version 4.1.10331 bundle console ended errors.

error :

install-package : updating 'entityframework 6.1.1' 'entityframework 4.1.10331.0' failed. unable find version of 'entityframework.extended' compatible 'entityframework 4.1.10331.0'. @ line:1 char:16 + install-package <<<< entityframework -version 4.1.10331 + categoryinfo : notspecified: (:) [install-package], invalidoperationexception + fullyqualifiederrorid : nugetcmdletunhandledexception,nuget.powershell.commands.installpackagecommand

if using nugget advise this:

uninstall-package entityframework -version 6.1.1

then install older

install-package entityframework -version 4.1.10331

"updating" older version create problems.

c# visual-studio-2010 entity-framework nuget

No comments:

Post a Comment