enable-migrations not woking in Entity Framework 5 using Visual Studio 2013

651 Views Asked by At

I am trying to learn MVC4 with entity framework 5 using visual studio 2013 ultimate edition (Update 4) in code first approach, But in enable-migration command , i am getting following error

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Shell, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Even I have installed vs_isoshell.exe as recommended by some people/website, still facing same issue.

1

There are 1 best solutions below

0
On

It seems that it might be caused by .NET Framework 4 installation. Follow these:

  • Ensure to unable your anti-virus and some security software, perhaps, to close your firewall.
  • Try to clean your "%temp%" folder (Start Menu >> Run >> Type "%temp%")
  • Reinstall .NET Framework 4