Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need to use EF 4.1 when default is EF 4.3.1

I am running dev on VS2010 SP1, and when I run Install-Package EntityFramework, I get EF 4.3.1 installed by Nuget. Is there a way that I can restrict the version to EF 4.1? I would like to examine them differentially. Please help!

-Thanks, Ram

like image 205
Ram RS Avatar asked Dec 01 '25 14:12

Ram RS


1 Answers

By default Nuget will install the latest version of a given package.

But you can install any previous version of a nuget package (which are available on nuget.org) within the package manager console specifying the Version option like:

PM> Install-Package EntityFramework -Version 4.1.10715.0

You can check the available versions of EF here.

like image 93
nemesv Avatar answered Dec 04 '25 13:12

nemesv



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!