Search code examples
visual-studio-2017

Error message 'Value cannot be null. Parameter name: userContext' in Visual Studio 2017


I get error message

'Value cannot be null. Parameter name: userContext'

in Visual Studio 2017 when trying to click notification or opening Extensions and updates from tools folder. Before answering can you look this Answer. The answer did not work on me.


Solution

  • I had this problem. Close VS, go to %LOCALAPPDATA%\Microsoft\VisualStudio\ and delete/rename a folder whose name starts with 15.0_.

    Then start Visual Studio, then download and install the latest update.

    After that it should work - Best of luck.