#19920·OrchardCore

asp-name="bootstrap-bundle" render twice

Author: infofromcaCreated Sep 21, 2026Updated Sep 24, 2026

Describe the bug

I Added

<style asp-name="bootstrap" version="5"></style>

on my .cshtml view, the site rendered the bootstrap.css twice.

for , it not only twice, but also make the site not working.

Orchard Core version

latest main

To Reproduce

  1. Add to a .cshtml

  2. there is also