如何在MSBuild中调用Web Essentials任务? [英] How call Web Essentials task in MSBuild ?
问题描述
在VS中进行构建时,Web Essentials很好用,但是在调用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).
我用Google搜索了很多东西,但只找到- 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屋!