Reputation: 1186
I'm in my way to convert an existing web site to Azure Cloud Service Project, but when I add this cloud project and debug my the project, the web page is missing all the styling, i.e. all the tabs in one page. I have seen that doesn't take the .css
Someone could tell me what's happening here? Thanks!
Upvotes: 1
Views: 1001
Reputation: 21
You can try changing the properties of the cloud project -> Web -> use IIS Web Server.. worked for me
Upvotes: 2
Reputation: 913
I had the same problem and I found it came from my use of IIS Express.
The problem was an error that can be seen in Windows Application Logs:
Src: IIS Express
"The directory specified for caching compressed content [...] is invalid. Static compression is being disabled."
Upvotes: 0
Reputation: 1186
fist I don't know if I have to write this as answer, if not sorry, I'll correct it.
About my question, I tough in publish it to Azure and when i did it, was working correctly. What I still don't know is why when I debug in VS with the cloud project is missing style and images.
Upvotes: 0
Reputation: 24895
Verify the *.css files, you need to make sure that the Build Action is set to Content:
Upvotes: 2