404 (Not Found) bootstrap5.css after update to v20.1.0.47

I'm using NuGet Syncfusion.Blazor.PdfViewerServer.Windows

Styling on 19.4.0.56 works.

If I update to 20.1.0.47 then it does not work. The toolbar buttons, etc. just look like unformatted text.

It seems that  bootstrap5.css is missing.

Edge development tools:


Try to access bootstrap5.css gives a 404



Reverting back to version 19.4.0.56 works and bootstrap5.css is available.



No changes are being made to anything other than change the upgrade/downgrade the NuGet.

These are in _Host.cshtml

    <link rel='nofollow' href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />

    <script src="_content/Syncfusion.Blazor.PdfViewer/scripts/syncfusion-blazor-pdfviewer.min.js" type="text/javascript"></script>

Startup.cs has 

services.AddSyncfusionBlazor(options => { options.IgnoreScriptIsolation = true; });



1 Reply 1 reply marked as answer

VS Vasugi Sivajothi Syncfusion Team April 11, 2022 08:12 AM UTC

Hi Dennis,


We have a breaking change in v20.1.0.47. We suggest you refer to Syncfusion.Blazor.Themes NuGet explicitly resolves the reported issue in the v20.1.0.47. We have shared the sample for your reference which can be downloaded from the below link.


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/TestApp-v20.1.47-1102710068


For more information, please refer to the below UG link.

https://blazor.syncfusion.com/documentation/release-notes/20.1.47?type=all#breaking-changes



Kindly try this and let us know if this helps you.


Regards,

Vasugi.



Marked as answer
Loader.
Up arrow icon