Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Microsoft.VisualStudio.Web.PasteJson.JsonPackage did not load properly

I have visual studio express 2012 and it was working fine earlier I had run my solution once. But now when I do it, there appears a dialog box with the message!

the Microsoft.VisualStudio.Web.PasteJson.JsonPackage, Microsoft.VisualStudio.Web.PasteJson package did not load correctly.

the problem may have been caused by a configuration changhe or by installation of another extension. You can get more information by exmamining the file C:\Users\AppData\Roaming\Microsoft\VWDExpress\11.0\Log.xml

continue to show this error message?

How do I get rid of this error?

like image 487
saumya vishwakarma Avatar asked Jul 18 '13 15:07

saumya vishwakarma


4 Answers

I started to see this on the fresh windows & VS 2013 Ultimate with Update 2 installation.

To resolve the problem, close all Visual Studio instances head over to

C:\Users\<your users name>\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache

and delete all the files in the folder.

It worked fine for me. Thanks to this article.

like image 176
user_v Avatar answered Nov 09 '22 17:11

user_v


Not relevant to VS 2012 express, but I experienced this problem with VS 2013 Premium. I had recently added the productivity power tools extension. To get back up and running, I loaded Visual Studio in safe mode:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>devenv /safemode

And un-installed the productivity tools. The errors went away.

like image 34
Brett Avatar answered Nov 09 '22 17:11

Brett


You need to clear the ComponentModelCache folder or rename it. For Visual Studio 2013, it’s located in the %LOCALAPPDATA%\Microsoft\VisualStudio\12.0 folder.

Refrence:

http://www.rajapet.com/2014/02/when-the-editorpackage-does-not-load-correctly.html

like image 3
M. Salah Avatar answered Nov 09 '22 18:11

M. Salah


I had Visual Studio 2013 Professional and I got the same error. I couldn't remove it until I repaired VS installation. It took a while but now it works fine.

like image 2
georger Avatar answered Nov 09 '22 17:11

georger