I have an SSDT project and I open the Package Manager Console to use nuget to get a dacpac (in the repo already) and I get these errors:
PM> get-Package -ListAvailable -AllVersions -IncludePrerelease
get-Package : Project 'Default' is not found.
At line:1 char:1
+ get-Package -ListAvailable -AllVersions -IncludePrerelease
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Default:String) [Get-Package], ItemNotFoundException
+ FullyQualifiedErrorId : NuGetProjectNotFound,NuGet.PackageManagement.PowerShellCmdlets.GetPackageCommand
I do not have a project called "default" (the projects are named after the databases they contain) and I cannot see a way to mark a project as Default. OTOH I can and do have a project marked as the startup project.
What is causing this error message and how can I solve it?