Dear friends of Stackoverflow, I have the following problem:
I am developing an ASP.NET MVC 4 application, which I have uploaded to a Azure server.
The issue is that when I'm working locally, I compile and run the application on the local server I see all the styles properly and everything works great, but when I upload the application to Azure, I do not Take the rendered styles.
For example a button, I have a style sheet in the following path "~/Tema/pages/css/login-5.min.css"
and to load it in the page I use @Styles.Render("~/CssTemaLogin")
, in the head of the view ( Index.cshtml
), but I do not take the style, when I do a revision with chrome, it does not appear inside the source folders and in the console it tells me that it did not find the file.
Can anyone have any idea why this error is occurring?
This is the code of the bundle.Config where I have the routes:
bundles.Add(new StyleBundle("~/CssTemaLogin").Include(
"~/Tema/global/css/components-rounded.min.css",
"~/Tema/global/css/plugins.min.css",
"~/Tema/global/plugins/select2/css/select2.min.css",
"~/Tema/global/plugins/select2/css/select2-bootstrap.min.css",
"~/Tema/pages/css/login-5.min.css"
));