I'm trying to change the css of my application in asp.net mvc 5, but when trying to do this I returned that error there. Does anyone know why?
I'm trying to change the css of my application in asp.net mvc 5, but when trying to do this I returned that error there. Does anyone know why?
Possibly your WebGrease and your Microsoft.AspNet.Web.Optimization are outdated. You can upgrade through the Visual Studio dashboard:
Or via command, by the Package Manager Console:
Update-Package Microsoft.AspNet.Web.Optimization
Update-Package WebGrease
Also check if there are no .js
files in the Bundle of styles. You can not mix types.