I need from file ".less" create ".css" file with standart CSS logic before build.
I tried drop dotless.compiler.exe at folder and at Pre-Build event call this command
$(SolutionDir)content\folder\dotless.compiler.exe -m
$(ProjectDir)content\css\site.less $(ProjectDir)content\css\site.css
but get exception "command exited with code 3". Where am I wrong? Can you offer another way?
I can't help with the exception from the Pre-Build event, but in the past I've used chirpy to generate css files.
I've also used squishit, which generates the css at runtime, as opposed to build/compile.