Upgrade to 2020.1.406 and bundles stopped working

4 posts, 0 answers
  1. Kevin F
    Kevin F avatar
    70 posts
    Member since:
    Sep 2009

    Posted 21 Apr Link to this post

    I had the following set up using version 2020.1.114:

    bundles.Add(new StyleBundle("~/Content/kendo/css")
                    .Include("~/Content/kendo/2020.1.114/kendo.bootstrap-v4.min.css")
                    .Include("~/Content/kendo/2020.1.114/kendo.mobile.all.min.css")
                );

    bundles.Add(new ScriptBundle("~/bundles/kendo")
                    .Include("~/Scripts/kendo/2020.1.114/kendo.all.min.js")
                    .Include("~/Scripts/kendo/2020.1.114/kendo.aspnetmvc.min.js")
                );

    @Styles.Render("~/Content/kendo/css")

    @Scripts.Render("~/bundles/kendo")

     

    I used the VS extension to upgrade to 2020.1.406, changed the paths in BundleConfig.cs, recompiled, and now the <link> and <script> tags don't get rendered at all.  This is all with "debug=true".  The other bundles I have set up are rendering fine... It's ONLY the kendo ones that don't.

     

    Literally only upgraded to 2020.1.406.  Nothing else changed in the application.

     

    Anybody else seeing this issue?

     

    Thanks in advance!

    KF

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2025 posts

    Posted 23 Apr Link to this post

    Hello Kevin,

    Could you post all of the content of the RegisterBundles method, as well as the _Layout.cshtml content?

    Regards,
    Ivan Danchev
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
  3. Kevin F
    Kevin F avatar
    70 posts
    Member since:
    Sep 2009

    Posted 24 Apr Link to this post

    Ok, so this just magically started working correctly.  I honestly have no clue why it stopped working after the upgrade nor why it started working.
  4. Ivan Danchev
    Admin
    Ivan Danchev avatar
    2025 posts

    Posted 28 Apr Link to this post

    Kevin,

    The bundles look ok and we do not see anything that could be a problem and cause them to stop working, so I am glad the issue is resolved.

    Regards,
    Ivan Danchev
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top