I'm pulling my hair out with the following error:
Error 1 The command ""C:\Users\Timothy\Documents\Visual Studio 2012\Projects\QProject\packages\dotless.1.3.1.0\tool\dotless.compiler.exe -m -w" "C:\Users\Timothy\Documents\Visual Studio 2012\Projects\QProject\QProject\Content \less\bootstrap.less"" exited with code 9009. QProject
I know that code 9009 is related to file not found, but the location of the bootstrap.less and dotless compiler is correct. I've triple checked it.
This is what I entered in the Pre-build Event:
"$(SolutionDir)packages\dotless.1.3.1.0\tool\dotless.compiler.exe -m -w" "$(ProjectDir)Content\less\bootstrap.less"
I also read this post (the solution for this post was: removing the line break in between the command and the arguments) but this did not solve my issue.
Thanks in advance!
I figure it out and I forgot to post the answer. So sorry.
So the problem was the argument "-m -w ".
They're not suppose to be in the quotation.
So instead of:
"$(SolutionDir)packages\dotless.1.3.1.0\tool\dotless.compiler.exe -m -w"
"$(ProjectDir)Content\less\bootstrap.less"
Use this:
"$(SolutionDir)packages\dotless.1.3.1.0\tool\dotless.compiler.exe" -m
"$(ProjectDir)Content\less\bootstrap.less"