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.

About SheldonS

Web developer for over 15 years mainly with Microsoft technologies from classic ASP to .NET 4. Husband, father, and aspiring amateur photographer.

Posted on May 21, 2015, in Troubleshooting and tagged . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: