Blog Archives

NuGet and Package Does Not Exist in Source


I had been working on a solution that contained several projects.  Due to company conventions I had to rename the projects, name spaces, and change the folder structure.  Things seems to work, builds were good and the applications would run without error.

the problem occurred once I checked it all into TFS, and made everyone target the same framework.  Some how I was getting an error about Entity Framework and that I needed to reinstall it.

I ran the command for each project and both times would receive a message like this one;

Skipped Reinstalling package ‘Name Here’ because the package does not exist in the package source.

My Fix

My fix was simple.  I went to the project and managed its packages.  I noticed that Entity Framework was not even installed.  I thought that kind of odd as I assumed the Update-Package -reinstall would have done it, but I clicked the install button.

Everyone is happy now.