I did a ‘devenv /setup’ and that fixed it.
Detail
- Exit Visual Studio
- Click
Start
- Type
cmd
, right clickCommand Prompt
and selectRun as administrator
-
Navigate to the appropriate Visual Studio folder
VS2012:pushd %programfiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE
VS2015:pushd %programfiles(x86)%\Microsoft Visual Studio 14.0\Common7\IDE
VS2017:pushd %programfiles(x86)%\Microsoft Visual Studio\2017\<Edition>\Common7\IDE
VS2019:pushd %programfiles(x86)%\Microsoft Visual Studio\2019\<Edition>\Common7\IDE
-
Type
devenv /setup
and press enter - When the command prompt returns, you’re done. Close the command window, reopen Visual Studio, and test to see if the error’s resolved.
More Information
https://msdn.microsoft.com/en-us/library/ex6a2fad.aspx