Long loading time in Visual Studio for a large project

Is there a way to disable intellisense in Visual Studio 2008? I know about deleting a DLL to disable intellisense in C ++, but this does not work for C #. I also know about preferences, but it just turns off the visual display. I want to disable ALL intellisense so that it doesn't view my code at all.

Update 10/14/09: Eric was kind enough to take a look, so I sent him information about the magazine. I will send permission here when we receive it.

Update: updated name to reflect the changed flow direction

Question on the topic

Disabling Intellisense for a Single Project in Visual Studio 2008

+6
c # visual-studio-2008 visual-studio intellisense
source share
4 answers

The guys from the VS team looked at this for me and found a problem with intellisense. Here is their description:

“It appears that both of the files you provided to me contain part of the static partial class EntityPropertyDescriptors, and I would assume that all the other 500 files too. What happens is that as we create the IntelliSense cache, each time, when we analyze one of these files, we see that it has a static class, and we decide whether this static class has any extension methods.To look for extension methods, we look at each method in each to see, is there an extension method for it that forces us to "process each file again to see if any extension methods have a type."

They found a similar problem with VS2010, but now fix it. Unfortunately, they are not going to fix it in VS2008, so we have a workaround for including all partial classes in a single file. They can still be partial, but they must be in the same physical file to work around the problem.

After combining all the partial classes into one file, load the time for this project problem from 30 minutes to 10 seconds.

Many thanks to Eric Lippert and Kevin Pilch-Bisson for helping me with this.

+9
source share

You need to disable background compilation.

Here is HowTo:

http://ira.me.uk/2008/09/01/switch-offon-visual-studio-2008-background-compilation/

Tools → Options → Text Editor → C # → Advanced → Show Live Semantic Errors

You will still underline the error, but before they appear, you must click the "Create" button.

+2
source share

In Tools> Options> Text Editor> C #, there is an Intellisense section that looks like it is doing what you want.

+1
source share

Have you tried to clear your solution of all temporary files created by Visual Studio? Sometimes these files can be damaged, the chances can be especially high if you transfer from VS 2005.

Close your solution, find all * .suo and * .ncb files and delete / rename them, and then reopen the solution.

One more thing to make sure: are third-party add-ons installed? Try starting VS in SafeMode using the /SafeMode command-line /SafeMode .

+1
source share

All Articles