I have an existing ASP.NET MVC 5 project in Visual Studio 2013 that I would like to migrate to Visual Studio 2015 so I can take advantage of VS 2015's support for Grunt. The project opens fine in VS 2015 and I can add a gruntfile.js to the project, but the task runner doesn't work. I assume there is additional configuration needed to make VS 2015 aware that my project is ready for Grunt, but I am not sure where that configuration resides. Does anyone know how to get this to work?
Gulp is a toolkit that helps web developers automate many development tasks such as minification and file conversion. We can create tasks using NPM gulp dependencies.
Right-click Gruntfile. js and select Task Runner Explorer from the context menu. The Task Runner Explorer window will open. Verify that clean shows under Tasks in the Task Runner Explorer.
Got to View menu, Other Windows, Task Runner Explorer.
Press the Refresh button in the Task Runner Explorer and make sure your tasks appear.
Right-click the desired task and select Run.
I got started with Stephen Walther's article here:
ASP.NET 5 and AngularJS Part 1, Configuring Grunt, Uglify, and AngularJS
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With