开发者

Path Error, YUI compressor .NET

开发者 https://www.devze.com 2022-12-12 17:13 出处:网络
I\'m trying to use YUI compressor for .NET as an MSBUILD event $(MSBuildBinPath)\\msbuild.exe \"$(ProjectDir)MSBuild\\MSBuildSettings.xml\"

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

精彩评论

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

关注公众号