Skip to content

Intelisence instability in large solutions #81844

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


[regression] [worked-in:17.14.13]
I am working on a large enterprise application. The solution contains many projects, some referenced through normal project-to-project references and others referenced as DLLs.

Visual Studio frequently loses IntelliSense cohesion: large portions of the solution suddenly show red squiggles with errors that do not make sense. Although this often happens after switching Git branches (either inside Visual Studio or via the command line), it also occurs at times without any branch switching or external source-control activity.

A typical example of the incorrect errors I see is:

CS0518: Predefined type 'System.Void' is not defined or imported

Despite these errors, the solution builds successfully, and none of the IntelliSense-reported issues are real.

The only reliable workaround I have found is:

  1. Exit Visual Studio
  2. Delete the .vs folder
  3. Build the solution outside Visual Studio (MSBuild or dotnet build)
  4. Reopen Visual Studio

This resolves the problem temporarily, but it recurs, with or without branch switches.

Screenshot of the behavior:

image.png

Environment details:

  • Visual Studio version: 2026 18.1.0
  • Project type: .NET Framework
  • Repo characteristics: large, multi-project solution
  • Frequency: mutliple times a day, occurs both after branch switches and during normal editing sessions with no branch changes
  • In vs 2022 this almost never happenened

This appears to be an IntelliSense cache invalidation or design-time build consistency issue.

VS info:

Visual C++ 2026   00487-30000-00000-AA092
Microsoft Visual C++ 2026

ASP.NET and Web Tools   18.0.333.805
ASP.NET and Web Tools

Azure App Service Tools v3.0.0   18.0.333.805
Azure App Service Tools v3.0.0

Azure Functions and Web Jobs Tools   18.0.333.805
Azure Functions and Web Jobs Tools

C# Tools   5.0.0-2.25574.6+7f327e02b43a2486faa9cfdf0a1eae34c06e2d1a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

GitHub Copilot   18.0.955.22606
GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

NuGet Package Manager   7.0.1
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Razor (ASP.NET Core)   18.0.2.2551302+48a2659b91e7032c97ea024751a6ea9469a94d7f
Provides languages services for ASP.NET Core Razor.

Spell Check My Code   VSSpellChecker
An editor extension that checks the spelling of comments, strings, and plain text as you type or interactively with tool windows.
https://GitHub.com/EWSoftware/VSSpellChecker

SQL Server Data Tools   18.0.172.3
Microsoft SQL Server Data Tools

Test Adapter for Boost.Test   1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test.  The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test   1.0
Enables Visual Studio's testing tools with unit tests written for Google Test.  The use terms and Third Party Notices are available in the extension installation directory.

TypeScript Tools   18.0.1114.2009
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   5.0.0-2.25574.6+7f327e02b43a2486faa9cfdf0a1eae34c06e2d1a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual F# Tools   18.0.0-rc2.25522.6+db81a081913bbaa32e528305723c07d98fd598b8
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2.3152.23957
AI-assisted development for Visual Studio.

Visual Studio Spell Check Everywhere   VSSpellCheckEverywhere
An extension that enables spell checking within any Visual Studio file editor or tool window that uses WPF text boxes.
https://GitHub.com/EWSoftware/VSSpellChecker

Original Comments

Feedback Bot on 12/11/2025, 03:47 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Deepak Rathore (ALLYIS INC) [MSFT] on 12/17/2025, 06:45 AM:

Thank you for taking the time to log this issue!
Sorry for the problem you encountered, in order to better reproduce the problem, could you please use the Feedback tool to create a dump and etl file so that we can conduct further research with the following steps?

  1. In Visual Studio, use Help->Send Feedback-> ‘My Feedback’.
  2. Click ‘Provide More Info’.
  3. Select Attach System logs and click ‘Record your actions to reproduce an issue’
  4. Perform that steps that cause the issue to occur. (If the issue is intermittent – just work normally until the issue occurs; only the latest data is collected). Note: Pause the Steps Recorder to increase performance
  5. After the problem occurs, close Steps Recorder to stop the trace; log files will be collected and attached to the ticket.

For more information see How to report a problem with Visual Studio.
We look forward to hearing from you!

Noam Honig on 12/17/2025, 07:50 AM:

(private comment, text removed)

Feedback Bot on 12/22/2025, 05:49 AM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Feedback Bot on 1/3/2026, 06:35 AM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions