Open tpspencer opened 2 years ago
Update: It looks like it is AddLessBundle that does not work. When I add the following AddCssBundle code, the bundle gets added.
options.AddCssBundle("/css/ab.css",
"Styles/a.css",
"Styles/b.css")
.UseContentRoot();
It turns out that UseContentRoot() does not work in Azure.
When I moved my Styles and Scripts folder from the root of my web project into the wwwroot folder and removed UseContentRoot() everything started to work.
When I publish my core3.1 website to Azure the path to the css files returns a 404 www.mysite.com/css/StyleBundle.css
Here is my config.