3.5.0-beta2: Package Manager Console Get-Package fails if .NET Core project is open (which blocks EF's enable-migrations) (original) (raw)

Using the RC2 preview1 tooling, .NET CLI and NuGet 3.5.0-beta.

Steps:

  1. Create a new .NET Core project (I chose a Console App) in VS.
  2. Open the Package Manager Console.
  3. Type Get-Package

Expected:

A successful report about the packages installed.

Actual:

PM> Get-Package
Get-Package : Value cannot be null.
Parameter name: fileName
At line:1 char:1
+ Get-Package
+ ~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-Package], ArgumentNullException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.GetPackageCommand