Monthly archives: February, 2014

How to make sure all projects in a Visual Studio 2013 solution have the same version of NuGet packages?

I created a Visual Studio 2013 solution with an MVC project and a class project, both created around the same time. The MVC project had a few NuGet packages pre-installed and I added some of them to the class project as well. After many mysterious problems, and some tearing of my hair, I realized that


When both update-database and add-migrations fail while referring to each other

Today I checked out a project from Git on a new machine. The project was using Entity Framework to connect to a local SQL Server on my developer machine. To install the database I ran update-database in the Package Manager Console and got an error message complaining about “pending changes” and that I should run

%d bloggers like this: