如何在 MSBuild 中调用 Web Essentials 任务? [英] How call Web Essentials task in MSBuild ?
问题描述
Web Essentials 在 VS 中构建时效果很好,但在调用 MSBuild(如团队城市)时似乎无法构建/捆绑(Scss/js、Html、Sprit).
Web essentials works great when build in VS, but seems no way to build/bundle (Scss/js,Html,Sprit) when call MSBuild (like team city).
我搜索了很多东西,但只找到 - https://www.nuget.org/packages/Pta.Build.WebEssentialsBundleTask/ 但它只支持捆绑包,有没有其他方法可以做到这一点?
I googled lot stuffs, but only find - https://www.nuget.org/packages/Pta.Build.WebEssentialsBundleTask/ but it only support bundle, is there any other way to do that ?
推荐答案
终于找到了http://madskristensen.net/,Mads Kristensen 拆分 Bundler &来自 Web Essentials 2015 的 Minifier 和 Web 编译器,它支持与 MSBuild 进程集成!!!!
finally, I found http://madskristensen.net/, Mads Kristensen split Bundler & Minifier and Web Compiler from Web Essentials 2015, and it supported integrate with MSBuild process !!!!
https://visualstudiogallery.msdn.microsoft.com/9ec27da7-e24b-4d56-8064-fd7e88ac1c40
https://visualstudiogallery.msdn.microsoft.com/3b329021-cd7a-4a01-86fc-714c2d05bb6c
这篇关于如何在 MSBuild 中调用 Web Essentials 任务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!