Skip to content

Visual Studio – clear cache

February 27, 2014

The last days I have had exceptions when loading Visual Studio 2013. The exception prompt I have got gives information on looking in the ActivityLogC:\Users\[user]\AppData\Roaming\Microsoft\VisualStudio\[version]\ActivityLog.xml. There I found:

  • SetSite failed for package [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]

I googled and found this:

In that post clearing the cache in C:\Users\[user]\AppData\Local\Microsoft\VisualStudio\[version]\ComponentModelCache (removing all content in the directory) was the suggestion. It helped. Thanks Kuebiko!

Another directory I clear from time to time is C:\Users\[user]\AppData\Local\Temp. Some files are locked though, so just skip them.


From → Visual Studio

  1. Alexander Vasilyev permalink

    thanks, it helps

  2. SImon Jones permalink

    Thank you for sharing this information. It helped to resolve this annoying issue of Visual Studio being lazy to process/load.

  3. thanks for the temp directory location

  4. Grzegorz Pawluch permalink

    The solution is still valid even for newer version!
    best regards
    Grzegorz Pawluch

  5. UrDaddy permalink

    Awesome thanks

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: