You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I pull the latest changes with Git, sometimes Visual Studio doesn't pick up the changes, showing up errors like "X class does not contain a definition of Y method" that only go away when I open the class where that method is defined (this is a C# repository).
Building/rebuilding doesn't help. The only way workarounds are to manually delete the .vs folder and reopening the solution, or manually open every file that shows the errors.
Even in other languages like C++, IntelliSense frequently goes out of sync with the code, and VS doesn't provide any way to manually trigger a rescan.
It would be nice if there was a way to manually trigger a rescan of the entire solution, as VSCode (and most other IDEs) already have.
Original Comments
George Osgood on 5/7/2024, 09:21 AM:
(private comment, text removed)
Feedback Bot on 5/7/2024, 07:38 PM:
(private comment, text removed)
Tiberiu Chibici [MSFT] on 5/8/2024, 05:01 AM:
(private comment, text removed)
Tiberiu Chibici [MSFT] on 5/8/2024, 05:11 AM:
(private comment, text removed)
Sam Harwell [MSFT] on 5/23/2024, 11:31 AM:
(private comment, text removed)
The text was updated successfully, but these errors were encountered:
This issue has been moved from a ticket on Developer Community.
When I pull the latest changes with Git, sometimes Visual Studio doesn't pick up the changes, showing up errors like "X class does not contain a definition of Y method" that only go away when I open the class where that method is defined (this is a C# repository).
Building/rebuilding doesn't help. The only way workarounds are to manually delete the .vs folder and reopening the solution, or manually open every file that shows the errors.
Even in other languages like C++, IntelliSense frequently goes out of sync with the code, and VS doesn't provide any way to manually trigger a rescan.
It would be nice if there was a way to manually trigger a rescan of the entire solution, as VSCode (and most other IDEs) already have.
Original Comments
George Osgood on 5/7/2024, 09:21 AM:
(private comment, text removed)
Feedback Bot on 5/7/2024, 07:38 PM:
(private comment, text removed)
Tiberiu Chibici [MSFT] on 5/8/2024, 05:01 AM:
(private comment, text removed)
Tiberiu Chibici [MSFT] on 5/8/2024, 05:11 AM:
(private comment, text removed)
Sam Harwell [MSFT] on 5/23/2024, 11:31 AM:
(private comment, text removed)
The text was updated successfully, but these errors were encountered: