Initially, I had my css.less file called Site.less.css , so the smart type is active. Which works well.
I recently needed to use the @import "Site.less"; . And, unfortunately, this does not work with .css at the end, because it will treat it as a CSS file, and not pass inactive parameters.
However, with the name Site.less , the publish (to IIS) function does not include this file. I assume this is due to an unrecognized file type? It is included in my solution explorer and therefore must copy it!
How can I copy it with the publication? (I can do it manually, but don't have to do it every time)
source share