title: Style bundling not working after IIS deployment (MVC 4)
body: <p>I'm having troubles with my style sheets bundling after deployment to IIS.
  I've created a simple solution to demonstrate my problem.</p>
  
  <p>I've created a simple test project (VS 2012, MVC 4) with a single controller and a view containing an "Hello World" string.</p>
  
  <p>I've created a (test) CSS under the content folder with simple simple color changing</p>
  
  <pre><code>Content\helloWorldCss\helloWorldStyle.css
  </code></pre>
  
  <p>Then, I've edited my <strong>BundleConfig.cs</strong> class and added the path to my CSS as a new bundle:</p>
  
  <pre><code>            bundles.Add(new StyleBundle("~/Content/helloWorldCss").Include("~/Content/helloWorldCss/helloWorldStyle.css"));
  </code></pre>
  
  <p>Then, I've added the new bundle to my the <strong>_Layout.cshtml</strong>:</p>
  
  <pre><code>@Styles.Render("~/Content/helloWorldCss")
  </code></pre>
  
  <p>When I run my application via VS (or Page inspector) my CSS is being applied successfully and everything seems to be OK. However, <strong>when I publish/deploy my project to IIS (through VS), I can view my HTML but my CSS is not being applied</strong>.
  The following file exists after deployment:</p>
  
  <pre><code>Content\helloWorldCss\helloWorldStyle.css
  </code></pre>
  
  <p>What really puzzles me is that when I alter my _Layout.cshtml and add a "regular" ref to the same CSS instead of using the bundle ref, the CSS is applied after publishing without any issues.</p>
  
  <pre><code>&lt;link href="@Url.Content("~/Content/helloWorldCss/helloWorldStyle.css")" rel="stylesheet" type="text/css" /&gt;*
  </code></pre>
  
  <p>I will appreciate any help and advice on this.</p>