Visual-Studio-2010 – Visual Studio does not display SVG image as a background

I have an asp.net project with an html file (Html ​​5). I am trying to use CSS 3 to set the SVG as the background of my body tag. I have such a file.

In my Style.css.

When I double click and open the html file. I can see the body is full of SVG, but when I use VS 2010 for debugging This doesn’t work.

This is what I get when debugging html with vs 2010.

What am I missing here? how to solve this problem?

The built-in Visual Studio Web server can only provide a limited set of mime types. SVG is not one of them 1.

Please see the concise answer here:
https://serverfault.com/questions/359904/how-to-configure-iis-for-svg-and-web- testing-with-visual-studio

I have an asp.net project with an html file (Html ​​5). I am trying to use CSS 3 to set the SVG to my The background of the body tag. I have this file.

In my Style.css.

When I double click and open the html file, I can see the body is full SVG, but this doesn’t work when I debug with VS 2010.

This is what I get when I debug html with vs 2010.

What am I missing here? how to solve this problem?

The built-in Visual Studio web server can only provide a limited set of mime types. SVG is not one of them.

Please see the concise answer here:
https://serverfault.com/questions/359904/how-to-configure-iis-for-svg-and-web-testing-with-visual-studio

< /p>

Leave a Comment

Your email address will not be published.