Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Commented Unassigned: Web Essentials "Create JavaScript Bundle File" crashes VS [894]

$
0
0
I rely on Mads Kristensen's [Web Essentials plugin](http://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-9df7-0f2a504ca361) for minifying and managing minified client-side JavaScript files. However, anytime I try to create a bundle file in a NJST project Visual Studio crashes.

The crash is repeatable on other developer machines in my group, with Visual Studio 2013 as well as Visual Studio 2013 Update 2 RC. I can successfully use the plugin with any other installed project other than NJST.

Is anyone else experiencing the same? Any suggested workarounds or alternatives to Web Essentials?

Comments: This is the stack trace for the error: ``` 17/09/2014 10:46:00: System.NullReferenceException: Object reference not set to an instance of an object. at MadsKristensen.EditorExtensions.FileHelpers.RelativePath(String absolutePath, String relativeTo) at MadsKristensen.EditorExtensions.BundleDocument.GetRelativePath(String file, String root) at MadsKristensen.EditorExtensions.BundleDocument.<>c__DisplayClass5.<WriteBundleRecipe>b__2(String file) at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext() at System.Xml.Linq.XContainer.AddContentSkipNotify(Object content) at System.Xml.Linq.XElement..ctor(XName name, Object content) at MadsKristensen.EditorExtensions.BundleDocument.<WriteBundleRecipe>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MadsKristensen.EditorExtensions.BundleFilesMenu.<MakeBundleAsync>d__27.MoveNext() ``` I have also added a comment to an open issue in Web Essentials here: https://github.com/madskristensen/WebEssentials2013/issues/1419#issuecomment-55872267

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>