简体   繁体   中英

How to roll back to previous Entity Framework

Recently I've just updated my Entity Framework in my project from 4.0 to 6.0, after updating I got almost 300 errors, and now it's a mess. I wish to rollback to the previous point where the Entity Framework was 4.0.

How can I do it with .Net Visual Studio 2010?

go to tools -> library package manager -> package manager console

then in the package manager consolo write

Uninstall-Package EntityFramework

finally when it's done

Install-Package EntityFramework -Version 4.1.10311 

you can try 4.3.1 its the newest version for 4.*

https://www.nuget.org/packages/EntityFramework/4.1.10331

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM