ASP.NET
Meta Content is being set to IE 5 by Visual Studio
Gravatar is a globally recognized avatar based on your email address. Meta Content is being set to IE 5 by Visual Studio
  n/a
  All
  Jun 28, 2015 @ 08:09am
I am trying to use Bootstrap in Visual Studio 2013, and I kept getting a poorly layed out and nonfunctioniong web page when I executed the debugger.
I could move most of the code from the "View Source" window and put it on a new HTML page and it displays fine...

I took a look at the actual data being sent to the browser. The first line of is:

meta content="IE 5.0000" http-equiv="X-UA-Compatible"

Why is Visual Studio doing this and how can I get it to stop?
I can delete this one line, move the code to an html page and Bootstrap renders and operates correctly.

Any help would be appreciated...
Thanks

Gravatar is a globally recognized avatar based on your email address. Re: Meta Content is being set to IE 5 by Visual Studio
  Rick Strahl
  Robert Kirby
  Jun 28, 2015 @ 09:27am

I recommend you forget debugging IE in Visual Studio. Use Chrome or FireFox and the developer tools in those browsers to debug your client code. The Visual Studio debugging is very slow and often inaccurate, plus it's tied to a specific version of IE. I'm not sure why it would be IE 5 but regardless - forget debugging in Visual Studio. The browser tools are much more powerful and flexible.

To do that switch your default browser in the browser selection list and VS won't attach to the browser.

+++ Rick ---



I am trying to use Bootstrap in Visual Studio 2013, and I kept getting a poorly layed out and nonfunctioniong web page when I executed the debugger.
I could move most of the code from the "View Source" window and put it on a new HTML page and it displays fine...

I took a look at the actual data being sent to the browser. The first line of is:

meta content="IE 5.0000" http-equiv="X-UA-Compatible"

Why is Visual Studio doing this and how can I get it to stop?
I can delete this one line, move the code to an html page and Bootstrap renders and operates correctly.

Any help would be appreciated...
Thanks



Rick Strahl
West Wind Technologies

Making waves on the Web
from Maui

© 1996-2024