I have Visual Studio 2012 and I\'m using the Entity Framework stack with EF 6. I did all correct but while adding migration I am getting the error .
Try this. Make sure that the project that your ShoppingCartContext is in, is the start up project or when executing the add-migration command include the parameter -startupprojectname ex. add-migration -startupprojectname yourprojectname