Upon debugging my ASP MCV 4 Application on Visual Studio 2012, I have encountered an issue with CSS not displaying properly after deploying it to IIS 7. It seems that some styles are missing in the live environment compared to how they appeared locally. I attempted to edit the render string to match my directory structure but did not achieve the desired outcome as suggested here. Can anyone provide guidance on how to address this problem?
Update:
To publish my app, I followed these steps:
- Clicked on button publish within VS 2012
- Selected file System as the publish method
- Browsed the application from IIS manager
After pressing F12, I received error messages stating "Failed to load resource: the server responded with a status of 404 (Not Found)" regarding some images that could not be found.
Additionally, I am utilizing bundles to include CSS files.