Batch processing Visual Studio ProjectItems with the Nuget Package Management Powershell Console
Today I helped a customer to minify and bundle a bunch of JavaScript files. We used WebGrease triggered from MsBuild to do the job. The next thing to do is changing the BuildAction property on all non-bundled-and-minified JavaScript files so that only minified and bundled files are published.
Here is my script:
Hope that helps