title: Less files not converted to css when publishing the project in ASP.NET
body: <p>My problem is am unable to compile .less files to .css using dotless in production server. I installed the dotless package using Nuget in Visual Studio 2010.
  Its working fine locally. No css file is generated.</p>
  
  <p>When i see the view source, i see the following in the head section of the page:-</p>
  
  <pre><code>&lt;link href="/MyProjectFolder/Content/styles?v=" rel="stylesheet"&gt;
  </code></pre>
  
  <p>and there is no content displayed when i click on this above link as the file is not generated.</p>
  
  <p>Can anyone help me in resolving this issue.</p>
  
  <p><strong>Update 1: Mentioned the approach by which am calling the less files</strong></p>
  
  <p>Am using the bundling of less files by using the following code in the BundleConfig.cs file as:-</p>
  
  <pre><code>bundles.Add(new StyleBundle("~/Content/common").Include("~/Content/common.less"));
  </code></pre>
  
  <p>and in my html page in the head section I call it using</p>
  
  <pre><code>@Styles.Render("~/Content/common")
  </code></pre>
  
  <p>My common.less file also has reference to two other files, using import. So the common.less file would like:-</p>
  
  <pre><code>@import "variables.less";
  @import url(http://fonts.googleapis.com/css?family=Roboto);
  
  body{
   background-color: @body-bg;
  }
  </code></pre>
  
  <p>..and so on </p>