'Showing "The Visual Studio cache is out of date" when click new query in SQL Server

I use SQL Server 2016 Management Studio. After I connect to the server and click on "new query", a message appears:

The Visual Studio cache is out of date

Screenshot here:

enter image description here



Solution 1:[1]

I faced similar issue but restarting SSMS(SQL Server 2016 Management Studio) did the trick for me.

Solution 2:[2]

you need to delete the windows 'SSMS' temp folder : C:\Users\your_user_name_here\AppData\Local\Temp\

dont worry, when you run the SSMS again, it will create a new SSMS temp folder for logs.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ikram Shah
Solution 2 KeepLearning