Note that there are some explanatory texts on larger screens.

plurals
  1. PO404 errors on bundled jquery css, VS2012 publishing to Azure
    primarykey
    data
    text
    <p>I have a web site that uses the jquery datepicker thing (implemented in regular VS2012 MVC4 template). It looks and works fine when running on localhost. But when I publish (to Azure), some of the css is missing. The Chrome dev tools show 404 errors on two css files:</p> <p><a href="http://cyclelog.azurewebsites.net/Content/jquery.ui.base.css" rel="noreferrer">http://cyclelog.azurewebsites.net/Content/jquery.ui.base.css</a> <a href="http://cyclelog.azurewebsites.net/Content/jquery.ui.theme.css" rel="noreferrer">http://cyclelog.azurewebsites.net/Content/jquery.ui.theme.css</a></p> <p>I noticed that there are no such files in my source tree--rather the two files are under ~/Content/themes/base (not directly under Content/). I didn't know what to make of this because--like I said--the css works fine on localhost.</p> <p>I have not modified the bundling config as created in the default template. Or, rather, I did, but only in an effort to fix the problem--which didn't work. I restored the original code in the bundle initialization:</p> <pre><code>bundles.Add(new StyleBundle("~/Content/css").Include( "~/Content/site.css", "~/Content/themes/base/jquery.ui.all.css")); bundles.Add(new StyleBundle("~/Content/themes/base/css").Include( "~/Content/themes/base/jquery.ui.core.css", "~/Content/themes/base/jquery.ui.resizable.css", "~/Content/themes/base/jquery.ui.selectable.css", "~/Content/themes/base/jquery.ui.accordion.css", "~/Content/themes/base/jquery.ui.autocomplete.css", "~/Content/themes/base/jquery.ui.button.css", "~/Content/themes/base/jquery.ui.dialog.css", "~/Content/themes/base/jquery.ui.slider.css", "~/Content/themes/base/jquery.ui.tabs.css", "~/Content/themes/base/jquery.ui.datepicker.css", "~/Content/themes/base/jquery.ui.progressbar.css", "~/Content/themes/base/jquery.ui.theme.css")); </code></pre> <p>Any ideas?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload