title: layout cshtml not rendering after publish
body: <p>I have tested an application locally that renders fine on my local machine. When I publish it to a server at work the _layout.cshtml isn't rendering. Their might not be any style rendering at all from the looks of developer tools. Any suggestions because I'm stumped and Google hasn't found me any similar scenarios? I'm using MVC5 with Razor</p>
  
  <p>My view start has</p>
  
  <pre><code>@{
       Layout = "~/Views/Shared/_Layout.cshtml";
   }
  </code></pre>
  
  <p>Edited version....my _layout page</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;title&gt;@ViewBag.Title - XXXXXXXXXXX&lt;/title&gt;
      @Styles.Render("~/Content/css")
      @Scripts.Render("~/bundles/modernizr")
      &lt;meta name="Training Module" content="Website for oreintation and traing modules" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="navbar navbar-inverse navbar-fixed-top"&gt;
      &lt;img src="/Images/imgCClogoHorizontal.jpg" style="float: left; padding-top: 10px" /&gt;
      &lt;div class="container"&gt;
          &lt;div class="navbar-header"&gt;
              &lt;button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"&gt;
                  &lt;span class="icon-bar"&gt;&lt;/span&gt;
                  &lt;span class="icon-bar"&gt;&lt;/span&gt;
                  &lt;span class="icon-bar"&gt;&lt;/span&gt;
              &lt;/button&gt;
              &lt;div style="padding-left: 30px"&gt;
                  @Html.ActionLink("XXXXXXXXXXXX", "Index", "Module", null, new { @class = "navbar-brand" })
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="navbar-collapse collapse"&gt;
              &lt;ul class="nav navbar-nav"&gt;
                  @*                                        &lt;li&gt;@Html.ActionLink("Home", "Index", "Home")&lt;/li&gt;*@
                  @*                                        &lt;li&gt;@Html.ActionLink("About", "About", "Home")&lt;/li&gt;*@
                  @*                                        &lt;li&gt;@Html.ActionLink("Orientation Videos", "Index", "Video")&lt;/li&gt;*@
              &lt;/ul&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  
  @Html.Action("Index", "NavigationMenu")
  &lt;div class="container body-content"&gt;
      &lt;div style="display: inline"&gt;
          &lt;div style="float: left"&gt;
              @RenderBody()
          &lt;/div&gt;
          &lt;h2&gt;&amp;nbsp;&lt;/h2&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  @Scripts.Render("~/bundles/jquery")
  @Scripts.Render("~/bundles/bootstrap")
  @RenderSection("scripts", required: false)
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>my bundle.config...</p>
  
  <pre><code>public class BundleConfig
  {
      // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
      public static void RegisterBundles(BundleCollection bundles)
      {
  
          bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                      "~/Scripts/jquery-{version}.js",
                      "~/Scripts/jquery-ui-{version}.js"));
  
          // Use the development version of Modernizr to develop with and learn from. Then, when you're
          // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
          bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                      "~/Scripts/modernizr-*"));
  
          bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                    "~/Scripts/bootstrap.js",
                    "~/Scripts/respond.js"));
  
          bundles.Add(new StyleBundle("~/Content/css").Include(
            "~/Content/bootstrap.css",
            "~/Content/site.css",
            "~/Content/themes/base/jquery-ui.css"));
      }
  }
  </code></pre>
  
  <p>}</p>