JSONPackage did not load correctly

Solution found on Chris Miller’s blog.

After some system cleanup my Visual Studio would complain about the JSONPackage when I wanted to open a file with a specific editor.
This was the first message in a range

  • CreateInstance failed for package [JSONPackage]
  • CreateInstance failed for package [ScssPackage]
  • CreateInstance failed for package [LessPackage]

As Chris advises I renamed the ComponentModelCache folder and started Visual Studio. The folder was recreated and the problem was resolved.

About erictummers

Working in a DevOps team is the best thing that happened to me. I like challenges and sharing the solutions with others. On my blog I’ll mostly post about my work, but expect an occasional home project, productivity tip and tooling review.
This entry was posted in Tooling and tagged . Bookmark the permalink.

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.