'Enter' key does not work in Visual Studio Package Manager Console

In Visual Studio 2017, you might notice that, the keyboard 'Enter' key some time does not work in NuGet Package Manager Console. Here is a workaround for this issue. - Article authored by Kunal Chowdhury on

Microsoft has recently released Visual Studio 2017 and you might be already started working in it. If you are using NuGet Package Manager Console, you may face an issue which prevents you to press the keyboard 'Enter' key.


If you faced this issue, which has been already logged, here is a workaround to resolve it for the time being while Microsoft is working on the fixes.


The 'Enter' key does not work in Visual Studio 2017 Package Manager Console (Workaround to resolve the issue)


In case you faced this issue, as an workaround, restart Visual Studio 2017 and open NuGet Package Manager Console first before opening any project/solution. In some cases, deleting the 'project.lock.json' file and restoring it again also works.


The issue has been already reported, which you can find here: NuGet #4204 and NuGet #4570.


Though Visual Studio 2017 has been recently released, Microsoft has already started working on the next features set to include in the new IDE. If you like, you can install the preview version of Visual Studio 2017 (v.Next) side-by-side to try out the changes ahead of general availability.



Article authored by Kunal Chowdhury on
Kunal Chowdhury is a Microsoft Windows Insider MVP, and Content Creator. He publishes latest tech news, articles, and reviews on kunal-chowdhury.com that has 2 million+ monthly views. DM him on webmaster@kunal-chowdhury.com if you want to discuss on any business collaboration opportunities.

Join Us