Disable Intellisense in VS 2008 for a single project

I have a project with about 1000 classes in it (no, there is no way to easily split this project into multiples). Just loading the project takes about 20 minutes, as intellisense slowly iterates over all classes and eats almost 1 GB of memory. Is there a way to disable Intellisense for one project, but save it for all other projects in the solution?

+4
visual-studio-2008 size project intellisense
source share
3 answers

Discussion continues > this thread

0
source share

What language is the project in? 1000 classes is a fairly small project and should load no more than 20 seconds. The problem is most likely caused by special files in the project on which temporary compilation transformations are performed (for example, code generators). Do you have code generators running as part of an assembly?

The problem may also be caused by:

  • Poorly written Visual Studio add-ons. In particular, I saw how the providers associated with the source cause this problem, but please also indicate the other add-ons that you have installed.
  • Downloading a project directly from a network share or the presence of files in a project that are in a network share.
  • The development machine is an old one (a slow processor, like in a single-core P4 or earlier, with low memory, like 1 GB or less). If so, you should fix it first.
  • The development machine has viruses or faulty components.
+5
source share

The problem is almost not related to Intellisense. There are at least a few things you can try:

  • Turn off all add-ons, such as R # or CodeRush.
  • Visual Studio does not work
    • Delete the .suo file for your solution and project, if any.
    • Delete the bin and obj folders.

After these steps, restart Visual Studio, open your project again and see if you have better performance.

+4
source share

All Articles