On opening my ASP.NET Web Pages solution (which I started in WebMatrix) in VS 2013, I am now getting this err msg:
An exception has been encountered. This may be caused by an extension. You can get more information by examing the file '...\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml'
I searched it for the word "exception" and found this:
<description>
System.ComponentModel.Composition.CompositionException: The composition produced a single
composition error. The root cause is provided below. Review the CompositionException.Errors property for more
detailed information.

1) No exports were found that match the constraint:

	ContractName	Microsoft.VisualStudio.JSLS.Extensibility.IJavaScriptServicesProvider�
A;	RequiredTypeIdentity	Microsoft.VisualStudio.JSLS.Extensibility.IJavaScriptServicesProvider


Resulting in: Cannot set import
'Microsoft.VisualStudio.JavaScript.Web.Extensions.Commands.CommandFilter._javaScriptServicesProvider
(ContractName="Microsoft.VisualStudio.JSLS.Extensibility.IJavaScriptServicesProvider")' on part
'Microsoft.VisualStudio.JavaScript.Web.Extensions.Commands.CommandFilter'.
Eleme
nt: Microsoft.VisualStudio.JavaScript.Web.Extensions.Commands.CommandFilter._javaScriptServicesProvider
(ContractName="Microsoft.VisualStudio.JSLS.Extensibility.IJavaScriptServicesProvider") -->
Microsoft.VisualStudio.JavaScript.Web.Extensions.Commands.CommandFilter


at System.ComponentModel.Composition.CompositionResult.ThrowOnErrors(AtomicComposition
atomicComposition)
 at
System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart
part)
 at
System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart
part)
 at System.ComponentModel.Composition.AttributedModelServices.SatisfyImportsOnce
(ICompositionService compositionService, Object attributedPart)
 at
Microsoft.VisualStudio.JavaScript.Web.Extensions.Commands.CommandFilter..ctor(ITextView
textView)
 at
Microsoft.VisualStudio.JavaScript.Web.Extensions.Commands.WpfTextViewConnectionListener.HookupCommandFilter
(IWpfTextView textView, IVsTextView textViewAdapter)
 at
Microsoft.VisualStudio.JavaScript.Web.Extensions.Commands.WpfTextViewConnectionListener.SubjectBuffersConnecte
d(IWpfTextView textView, ConnectionReason reason, Collection`1 subjectBuffers)
 at
Microsoft.VisualStudio.Text.Editor.Implementation.ConnectionManager.<>c__DisplayClass8.<.ctor>b__1
()
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object
errorSource, Action call)
</description>
...but it still doesn't tell me much, AFAICT. What extension is causing problems, and what can I do about it?
I then searched for "extension" and found these entries:
<entry>
<record>954</record>
<time>2015/03/26 15:39:58.007</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [MadsKristensen.Image_Optimizer_Extension.Image_Optimizer_ExtensionPackage,
Image Optimizer Extension, Version=1.0.0.0, Culture=neutral, PublicKeyToken=16b83d3f826a86c5]</description>
<guid>{BF95754F-93D3-42FF-BFE3-E05D23188B08}</guid>
</entry>
<entry>
<record>955</record>
<time>2015/03/26 15:39:58.491</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [MadsKristensen.Image_Optimizer_Extension.Image_Optimizer_ExtensionPackage,
Image Optimizer Extension, Version=1.0.0.0, Culture=neutral, PublicKeyToken=16b83d3f826a86c5]</description>
<guid>{BF95754F-93D3-42FF-BFE3-E05D23188B08}</guid>
</entry>
...and:
<entry>
<record>963</record>
<time>2015/03/26 15:40:13.623</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [JavaScriptWebExtensionsPackage]</description>
<guid>{30DB8F9B-EC9F-44D6-B377-83C7C27A1A8B}</guid>
</entry>
<entry>
<record>964</record>
<time>2015/03/26 15:40:13.717</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [JavaScriptWebExtensionsPackage]</description>
<guid>{30DB8F9B-EC9F-44D6-B377-83C7C27A1A8B}</guid>
</entry>
<entry>
...but it seems the "exception" entry is the key one.
My guess is that the JavaScript extension is what is hosed up, as the JavaScript is no longer colorized - it's just white on black:
Still, I don't know what to do about it.
Note: This project did open the first couple of times with no exception. It just decided it didn't like some extension last night. What changed?
Anyway, the entire ActivityLog.xml can be accessed from here
My jQuery has got its color back; perhaps it had to do with updating several packages that the flag next to "Quick Launch" in the NE corner was trying to draw my attention to. These were:
When this happens, check the "race car flag" in the NE corner of VS to see if it's apprising you of any updates; if so, apply these updates. This worked in my case. Specifically, I updated:
...and the problem went away.