Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

444
Views
Excepción lanzada en WebGrease.dll después de actualizar a bootstrap 5 MVC

Me encontré con el problema de que después de la actualización de bootstrap a v5.0.2 arroja una excepción (NullReferenceException) en WebGrease.dll mientras que bootstrap v3 y v4 funcionan bien.

El siguiente código del diseño compartido:

 @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/bootstrap") @RenderSection("scripts", required: false)

El siguiente código de BundleConfig:

 bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include( "~/Scripts/bootstrap.js")); bundles.Add(new StyleBundle("~/Content/css").Include( "~/Content/bootstrap.css", "~/Content/Site.css"));

Comprobado WebGrease desde nuget manager está actualizado.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Lo encontré. https://stackoverflow.com/a/45056631/4179709 cambie la configuración del paquete a un nuevo objeto de paquete. No es un objeto ScriptBundle para su bootstrap.js

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!