Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.


This is the error i am getting.For information i have taken an Internet template in my mvc4 web app.and when i take an empty template too and add Entity Framework 6.0 to it as a reference i get the same error.
Posted
Comments
Vedat Ozan Oner 7-Mar-14 4:57am    
I think it is related to this: http://stackoverflow.com/questions/19748878/entity-framework-migrations-error-using-visual-studio-2013
[Reply by OP]

the question is same but,i havent got a proper solution yet...Microsoft.VisualStudio.Shell has to be installed i think...but i am not sure .
[no name] 7-Mar-14 5:05am    
the question is same but,i havent got a proper solution yet...Microsoft.VisualStudio.Shell has to be installed i think...but i am not sure .
Suraj, always click Reply yo reply to the comment. If you add one Comment, user is not notified.
[no name] 7-Mar-14 6:04am    
Ok Tadit thank you will keep that in mind. I think this reply I have done correct!! :)

1 solution

You can refer the following article:

Perform Code First Migration in MVC 5

Migration Using MVC 4
 
Share this answer
 
v2
Comments
[no name] 10-Mar-14 1:06am    
Yes it works well in MVC5 but in MVC4 its not working with an empty template..@NimitJoshi
Nimit Joshi 10-Mar-14 1:41am    
I've edited my solution.. Please check..
[no name] 10-Mar-14 1:53am    
I agree and I know this using internet applications in MVC4 but have you tried using an Empty application(template)!!because in empty template we install EF version 6.0 that doesnt support Migrations. Whereas in Internet applications already EF 5.0 is added that supports Migrations.
Thanks for your concern please try what i said if you get what i am trying to convey...:)
Nimit Joshi 10-Mar-14 2:18am    
Ok.. Got it. I'll work on it..
[no name] 10-Mar-14 2:23am    
Thank you ...:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900