c# - Visual studio crashes when type something in the Code Editor -
suddenly visual studio 2015 update 3 started crashing when try type code. working until friday. happened on weekend. have 5 projects ( 4 class libraries & 1 web project) in solution. vs gets crashed when try type in code editor of data
project class library. using ef code first don't think issue related code. related else.
i have looked activity.log
, found it's due corrupt componentcache
. cleared componentmodelcache
still problem persists.
any suggestion hightly appreciated. activity.log
entry pasted below reference. sure many of must have experienced issue.
<entry> <record>633</record> <time>2016/07/04 13:55:53.621</time> <type>error</type> <source>editor or editor extension</source> <description>microsoft.visualstudio.extensibilityhosting.invalidmefcacheexception: visual studio component cache out of date. please restart visual studio.
 @ microsoft.visualstudio.extensibilityhosting.faultcatchingassemblyloader.<loadassembly>b__15_0(assemblyname assemblynameparam)
 @ microsoft.visualstudio.extensibilityhosting.utilities.safegetoradd[tkey,tvalue](idictionary`2 dictionary, tkey key, object lockobj, func`2 valuefactory)
 @ microsoft.visualstudio.extensibilityhosting.faultcatchingassemblyloader.loadassembly(assemblyname assemblyname)
 @ microsoft.visualstudio.composition.reflection.resolverextensions.resolve(constructorref constructorref)
 @ microsoft.visualstudio.composition.runtimecomposition.runtimepart.get_importingconstructor()
 @ microsoft.visualstudio.composition.runtimeexportproviderfactory.runtimeexportprovider.runtimepartlifecycletracker.createvalue()
 @ microsoft.visualstudio.composition.exportprovider.partlifecycletracker.create()
 @ microsoft.visualstudio.composition.exportprovider.partlifecycletracker.movenext(partlifecyclestate nextstate)
 @ microsoft.visualstudio.composition.exportprovider.partlifecycletracker.movetostate(partlifecyclestate requiredstate)
 @ microsoft.visualstudio.composition.exportprovider.partlifecycletracker.getvaluereadytoexpose()
 @ microsoft.visualstudio.composition.runtimeexportproviderfactory.runtimeexportprovider.<>c__displayclass15_0.<getexportedvaluehelper>b__0()
--- end of stack trace previous location exception thrown ---
 @ microsoft.visualstudio.composition.runtimeexportproviderfactory.runtimeexportprovider.<>c__displayclass15_0.<getexportedvaluehelper>b__0()
 @ microsoft.visualstudio.composition.delegateservices.<>c__displayclass2_0`1.<as>b__0()
 @ system.lazy`1.createvalue()
--- end of stack trace previous location exception thrown ---
 @ system.runtime.exceptionservices.exceptiondispatchinfo.throw()
 @ system.lazy`1.get_value()
 @ microsoft.visualstudio.text.tagging.implementation.tagaggregator`1.gathertaggers(itextbuffer textbuffer)</description> </entry>
Comments
Post a Comment