How can I install nuget packages for my PowerShell projects in Visual Studio 2015? I tried to do this with both the PowerShell module project and the PowerShell Script project. I installed PowerShell Tools for Visual Studio 2015.
When I open these projects, the default project in the package manager console is empty. Here is a screenshot of what I mean.

When I try to install the nuget package, for example. Pester , I get the following error.
![PM > Install-Package Pester Install-Package: Project 'Default' . line: 1 char: 1 + Install-Package Pester + ~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo: ObjectNotFound: ( : String) [Install-Package ], ItemNotFoundExc eption + FullyQualifiedErrorId: NuGetProjectNotFound, NuGet.PackageManagement.PowerShellCmdlets.Inst allPackageCommand PM >](https://fooobar.com//img/17c7b0e8303b7a414ef3b4410174cd76.png)
source
share