This is a migrated thread and some comments may be shown as answers.

Upgrade to 2020.1.406 and bundles stopped working

3 Answers 171 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin F
Top achievements
Rank 1
Kevin F asked on 22 Apr 2020, 01:23 AM

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

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 23 Apr 2020, 06:19 PM

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.
0
Kevin F
Top achievements
Rank 1
answered on 24 Apr 2020, 05:55 PM
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.
0
Ivan Danchev
Telerik team
answered on 28 Apr 2020, 04:21 PM

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.
Tags
General Discussions
Asked by
Kevin F
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Kevin F
Top achievements
Rank 1
Share this question
or