madskristensen/WebEssentials2013 — pull request #1427 by DotNetSparky (2014-08-21 16:58:52+00:00)
Title: Fix NullReferenceException error during build when looking for CompileOnBuild settings.

Ever since yesterday's nightly, I started getting an exception error in the build output whenever I build my solutions:

An exception was thrown when running solution-wide compilers: System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at MadsKristensen.EditorExtensions.WebEssentialsPackage.<>c__DisplayClasse.b__c(IContentType c)
at System.Linq.Enumerable.<>c__DisplayClassf`1.b__e(TSource x)
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
(and on and on)

Traced it down to InitiateExecutors() in WebEssentialsPackage.cs. the call to ForContentType() returns null for Css.

Not sure why this suddenly started appearing--none of the code involved seemed to have been changed recently. I'm assuming it's due to logging changes--that its always been there and the exception just wasn't making it to the build output window.