开发者

Path Error, YUI compressor .NET

I'm trying to use YUI compressor for .NET as an MSBUILD event

$(MSBuildBinPath)\msbuild.exe "$(ProjectDir)MSBuild\MSBuildSettings.xml"
\p:CssOutputFile="$(ProjectDir)styles.css"
\p:JavaScriptOutputFile="$(ProjectDir)scripts.js"

This is my 开发者_如何学GoPre-Build event command line... In the output it seems like the task succeeds because it says "Finished Css/Javascript compression" but it later crashes with an error The filename, directory name, or volume label syntax is incorrect.

My path contains whitespaces could that be the problem? If so, is there a way to fix it?


Insted of providing the output paths in the command, I placed them in the Settings xml for YUI. That way the files generated as they should

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜