Visual Studio 2013 or 2015 EditorPackage did not load correctly all the time

When starting Visual Studio 2013 Pro (Update 4 installed) I very often get this error message (several times a day now) for about two weeks:

The package 'Microsoft.VisualStudio.Editor.Implementation.EditorPackage' did not load correctly.

I know that I can fix this problem by closing Visual Studio and uninstalling:

%LocalAppData%\Microsoft\VisualStudio\12.0\ComponentModelCache 

I had never seen him before this time, and as far as I found out on the Internet, he may have been introduced with Update 3.

Well, the problem is that annoying restarting Visual Studio several times a day is annoying, and I was wondering if anyone else has this, and knows how to solve it forever or what’s the reason.

I noticed that this happens very often if I work on multiple instances of Visual Studio in parallel. This is a killer. But still, I suspect that a third-party component or the size of one of the solutions is involved (about 70 projects). I tried to disable some extensions that I recently installed, and you need a big project, but to no avail.

As information: I work with C # . When working in parallel with projects opened in multiple instances of Visual Studio, I never had a problem.

Does anyone have the same problem or could be better than deleting a folder and restarting?

+53
c # visual-studio visual-studio-2013 visual-studio-2015
Apr 17 '15 at 8:41
source share
3 answers

This became a popular question, so I decided to add an explicit answer on how to (at least) temporarily fix the problem, as already stated in the question:

I stop Visual Studio and delete the next folder (completely, not just the contents)

 %LocalAppData%\Microsoft\VisualStudio\12.0\ComponentModelCache 

If you are using VS2015, the path should be:

 %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache 

I do not save the backup folder. It is automatically created automatically when you start Visual Studio.

I never found a solution on how to fix the problem in this working environment for a long time. In my new developing environment (new projects and a new workplace), the problem never arises.

+89
Jan 21 '16 at 10:05
source share

This is what helped me ... seemed to happen after installing Windows Server 2012 SP ...

https://connect.microsoft.com/VisualStudio/feedback/details/1123745/setsite-failed-for-package-microsoft-visualstudio-editor-implementation-editorpackage

  • devenv /clearcache
  • devenv /updateconfiguration
+9
Apr 25 '16 at 12:48
source share

In this case, you can run Visual Studio setup again and select an option that shows two options: Restore and Delete. Then click "Restore" and when the repair is completed, restart the computer. Then the problem was resolved.

0
Jun 03 '16 at 6:51
source share



All Articles