I have several shared .less files, that are imported from other .less files like this:
@import "../Shared/Reset.less";
However, when I use CssTransform, it's not able to resolve those files.
It was able to solve it using the code from https://gist.github.com/2002958, suggested in http://stackoverflow.com/questions/9593254/mvc4-less-bundle-import-directory. However, it would be nicer if it was included in the CssTransform out of the box.
Comments: I tested the same code and it works fine. You have installed and registered some LESS-translator (BundleTransformer.Less (http://bundletransformer.codeplex.com/wikipage?title=Bundle%20Transformer%201.6.5#BundleTransformerLess_Chapter) or BundleTransformer.LessLite (http://bundletransformer.codeplex.com/wikipage?title=Bundle%20Transformer%201.6.5#BundleTransformerLessLite_Chapter))?
@import "../Shared/Reset.less";
However, when I use CssTransform, it's not able to resolve those files.
It was able to solve it using the code from https://gist.github.com/2002958, suggested in http://stackoverflow.com/questions/9593254/mvc4-less-bundle-import-directory. However, it would be nicer if it was included in the CssTransform out of the box.
Comments: I tested the same code and it works fine. You have installed and registered some LESS-translator (BundleTransformer.Less (http://bundletransformer.codeplex.com/wikipage?title=Bundle%20Transformer%201.6.5#BundleTransformerLess_Chapter) or BundleTransformer.LessLite (http://bundletransformer.codeplex.com/wikipage?title=Bundle%20Transformer%201.6.5#BundleTransformerLessLite_Chapter))?