Package manager tab completion not working in Visual Studio 11

Apr 8, 2012 at 6:32 PM

When trying to use tab completion in package manager console, Visual Studio 11 Beta stops responding for about one minute and then prints

PM> System.Management.Automation.CommandCompletion

to the package manager console instead of completing the command. The issue appears when running Visual Studio both with or without elevated priviledges and with or without an open project.

Installed software:

  • Windows Consumer Preview
  • Visual Studio 11 Ultimate Beta
  • Visual Studio 11 April update
  • NuGet Package Manager 1.7.30402.9028

Steps to reproduce:

  1. Open package manager console.
  2. Start typing any command e.g.
    PM> Get-Hel
  3. Hit tab.
  4. Visual Studio stops responding
  5. Wait one or two minutes until Visual Studio resumes responding
  6. Notice that
    PM> System.Management.Automation.CommandCompletion

    is written to the package manager console instead of the expected completed command
    PM> Get-Help

Does anyone know how to fix this issue?

Apr 8, 2012 at 7:07 PM
This will be fixed in NuGet 1.8. Sadly, I don't know a work-around.