Use MvcScaffolding with Entity Framework 5

209 views Asked by At

I would like use MvcScaffolding with EF 5 (because I use MySQL and there are not stable version of mysql connector for EF 6) but when I install MvcScaffolding with nuget, EntityFramework 6.0.2 is installed automatically

How can I use MvcScaffolding with EF 5 ? (I use VS2012)

1

There are 1 answers

1
happygilmore On

Since the scaffolding requires EF as a dependency it will try to install the latest version. Try adding EF5 first by using the command

Install-Package EntityFramework -Version 5.0.0

then

Install-Package MvcScaffolding