Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, July 16, 2013 7:41 PM | 20 votes
After the 07/10/2013 Microsoft update, I tried to open Microsoft Visual Studio, then this error showed up
No exports were found that match the constraint: ContractName
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService RequiredTypeIdentity
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
This error happened to every member's of our group.
The Microsoft Visual Studio Professional 2012:
Version 11.0.50727.1 RTMREL
Appreciate any help on this issue.
All replies (46)
Wednesday, July 17, 2013 9:21 AM âś…Answered | 124 votes
Removing %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache and restarting VS2012 fixed the problem for me.
Wednesday, July 17, 2013 2:46 PM
Thanks, that fixed this issue.
Thursday, July 18, 2013 4:33 AM | 1 vote
Thanks ...Removing %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache and restarting VS2012 fixed the problem for me.
Monday, September 2, 2013 9:43 AM
This worked for me. The problem arose straight after activating InstallShield Limited Edition.
Tuesday, September 10, 2013 5:11 PM
It's Fixed to me Thanks!!!
Marcelo Gomes
Wednesday, October 23, 2013 11:04 AM
Worked for me too. I was about to uninstall VS 2012.
Monday, December 30, 2013 4:30 PM
This worked for me as well.
Visual Studio 2013
Trying to open a VS2010 project.
Saturday, February 1, 2014 1:15 PM | 7 votes
Thanks, and removing %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache fixes it in Visual Studio 2013 too...
Friday, May 30, 2014 8:41 PM | 1 vote
thanks a lot
Tuesday, June 17, 2014 1:35 AM
+1. Thanks!
Saturday, July 19, 2014 7:38 PM
The file to be deleted is ComponentModelCache
...just search it delete it...different versions would have different paths for it....
Saturday, July 19, 2014 11:58 PM
Works for VS 2013 as well.
Wednesday, July 23, 2014 11:54 AM
Worked for me too
Wednesday, July 23, 2014 3:35 PM
Thank you. After removing %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache and restarting VS2012 fixed the problem for me.
Mahendra Vengurlekar
Friday, August 1, 2014 6:19 AM
worked for me too... thank you very much...
Friday, August 8, 2014 6:09 AM
VS 2013 : worked for me too... thank you very much...
Friday, August 22, 2014 8:33 PM
For VS 2013 solution is also solves the problem.
Tuesday, October 7, 2014 2:40 PM
I got this error after installing the python tools for vs 2013. So I just uninstalled and problem solved.
Friday, November 14, 2014 6:36 AM
%LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache, fixed my problem.
Thanks for proposing this solution. It saved lot of time and effort.
What's the logic behind this??
Sunday, November 23, 2014 1:38 AM
I recently had this issue as well..however..contrary to whats posted above this did not fix the issue..Visual Studio 2013 with SP3.. the solution for me was to reinstall the SP3 from the iso image..
Removing the folder above and restarting VS only put the folder and it's defective contents back.
So if the above mentioned method doesn't fix your issue..try reinstalling the SP
Thursday, December 18, 2014 9:33 PM
Thanks, it worked
Wednesday, December 31, 2014 10:36 PM
Removing %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache and restarting VS2013 fixed the problem for me.
Tuesday, January 20, 2015 4:47 AM
Yep worked for me too.
Tuesday, January 20, 2015 9:15 AM
Thank you. It worked for VS2013 as well.
jim
Saturday, January 24, 2015 9:49 AM
Thanks a ton...
Friday, April 24, 2015 8:16 AM
Thank you. It worked for VS2013 as well.
Wednesday, June 24, 2015 6:13 PM
Thanks a lot .. That's the solution! :D
Wednesday, August 26, 2015 10:13 PM
Removing %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache and restarting VS2012 fixed the problem for me.
This worked for me on Microsoft Visual Studio Professional 2013
Wednesday, September 30, 2015 4:37 PM
This ComponentModelCache is not available in my folder.
Is there anyone to help me to overcome the issue.
Monday, October 12, 2015 9:02 PM
was worried about my expensive vs ultimate.. couldn't afford a new. thanks :)
Monday, November 16, 2015 5:51 AM
I also got this error after taking an update windows 8.1.
After removing %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache and restarting VS2013 fixed my problem.
Thanks AirLee
Friday, February 19, 2016 3:12 PM
how to remove this file??
Wednesday, June 29, 2016 5:47 PM | 1 vote
I had the same error when opening Visual Studio 2015 with Update 3 and done the recommended fix proposed above and it worked perfectly:
For Visual Studio 2015 it's:
%LOCALAPPDATA%\Microsoft\VisualStudio\14.0\ComponentModelCache
Monday, October 17, 2016 8:17 AM
Removing %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache and restarting VS2012 fixed the problem for me.
This helped me too! Thank you!
Tuesday, November 8, 2016 11:46 AM
Removing %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache and restarting VS2012 fixed the problem for me.
Thanks!
Friday, January 20, 2017 6:49 AM
Still...thanks..%LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache and restarting VS2012 worked
Sunday, January 22, 2017 12:53 PM
I got the 'Microsoft.VisualStudio.Editor.Implementation.EditorPackage' package did not load correctly problem after installing Windows 10 Version 1607 (Anniversary Edition). My Visual Studio 2013 Professional code editor would not load.
From C:\Users\USERNAME>\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml
<entry>
<record>356</record>
<time>2017/01/22 12:31:49.424</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
<hr>80070057 - E_INVALIDARG</hr>
<errorinfo>No EditorOptionDefinition export found for the given option name: Graphics/Simple/EnableParameter name: optionId</errorinfo>
</entry>
<entry>
<record>357</record>
<time>2017/01/22 12:31:49.428</time>
<type>Error</type>
<source>VisualStudio</source>
<description>End package load [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]</description>
<guid>{E269B994-EF71-4CE0-8BCD-581C217372E8}</guid>
<hr>80070057 - E_INVALIDARG</hr>
<errorinfo>Unspecified error</errorinfo>
</entry>
Removing C:\Users\USERNAME>\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache contents and restarting Visual Studio solved the problem.
I wonder why this error occurred???
Saturday, February 18, 2017 2:27 PM
I meet this issue in VS2015 Community , could you help me ?
Sunday, February 19, 2017 12:00 PM
Find location of "ComponentModelCache" folder on your PC and remove it.
Back it up first just in case!!!
Tuesday, September 5, 2017 4:47 AM
thanks it fixed my issue
Tuesday, October 17, 2017 4:20 AM
Hi AirLee,
You can Removing or delete file: Microsoft.VisualStudio.Default.cache
C:\Users\ %UserName%\AppData\Local\Microsoft\VisualStudio\11.0\ComponentModelCache\Microsoft.VisualStudio.Default.cache
and restarting Visual Studio fixed the problem for you.
Thursday, November 16, 2017 10:11 AM
Thanks, that fixed the problem.
Arise after a windows 10 update
Monday, November 27, 2017 11:08 PM
Same solution works with VS2013 removing %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache
When this error occurs, VS could not load any projects. The error must happen if Windows gets restarted (e.g. due to a Windows Update) while VS is running.
Monday, January 29, 2018 7:21 AM
this worked for me, thanks a lot
Tuesday, March 20, 2018 10:46 AM
Thanks for this help!
This solution also worked for SQL Server 2016 by deleting the ComponentModelCache at C:\Users\Phil\AppData\Local\Microsoft\SQL Server Management Studio\13.0
Wednesday, July 4, 2018 1:32 AM
Thanks for the gem of the solution