Project 'Default' is not found.
Steps to reproduce
Add-Migration XXXXXXX
The issue
Project 'Default' is not found.
Further technical details
No other logs or anything just Project 'Default' is not found.
EF Core version: 1.0.0-rc2-3002702 Operating system: Visual Studio version: 2015
I've seen this before too. NuGet's Package Manager Console gets into a bad state. Restart VS and try again.
We are confident this is the issue @bricelam described. Feel free to reply if it is not.
Well working with Visual Studio 2015 Enterprise and starting a new Asp.Net Core + EF Core project often feels like dealing with an ol' lawn mower... sometimes it would start like magic sometimes it wouldn't... We then try to proceed tryig to restore everything through dotnet restore cmd expecting it would help solve the issue and Here we go again... So guess we have to deal with it as it seems a bit unstable ... Now as for the Project 'Default' is not found. issue... that once happened to me before I realised the Default Project droplist was blank... Aaaaah no wonder why... just selected the name of the application and ooooh guess what? It worked... :)
I just got this error all of a sudden too, even after rebooting VS 2015. Everything worked fine before.
Select a project from the drop down list in NuGet Package Manager Console. I've been seeing this a lot more lately too.
I reinstalled NuGet PMC and now it works. Go figure.
Restarting VS worked for me, using VS2017
This is still an issue in vs2017, please re-open and fix.
@GeorgeBushRekt Could you file an issue on NuGet/Home with the steps to reproduce it?
I vaguely remember something like moving a project to a different solution folder causes it to fail, but I may be remembering wrong.
Select Project From Dropdown

@bricelam @rowanmiller I'm still experiencing this issue in Visual Studio 2019 (16.4.4). I've tried Git clean and restart VS several times. There is no longer a "Default project" drop down. Pretty stuck on this one. Add-Migration has worked several times, but it just stopped working today.
Close the Package Manager Console window before restarting VS