I am unable to access CSS file which is located under MVC AREA section.
Here is the full path of the CSS file.
http://mywebsite/Areas/MVC/Resources/dist/css/custom.css
The path is correct I suppose because JS files and images are being loaded from the same path.
There is also no authentication issue as well.
I tried to debug using firebug and it prints the following error message.
The stylesheet http://mywebsite/Areas/MVC/Resources/dist/css/custom.css was not loaded because its MIME type, "text/html", is not "text/css". Although I have specified the text/css type in the link attribute.
I am referring to the css file as below
link href="~/Areas/MVC/Resources/dist/css/custom.css" rel="stylesheet" type="text/css"
I have also tried giving the absolute path but still no luck.
If we try to open the above link in browser it is opening correctly and showing CSS but it does not load in the application. Also the js resources and images are being loaded in the same folder by using the same path but not the CSS.