Note that there are some explanatory texts on larger screens.

plurals
  1. POVisual Studio 2012 SP3 changing link href when using ASP.NET in design view
    text
    copied!<p>I'm using VS 2012 SP3 in which i have an ASP.NET web site. In my "Default.aspx" i have the following link</p> <pre><code>&lt;link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" runat="server" rel="stylesheet" /&gt; </code></pre> <p>Whenever i use the design view to for my page like inserting a new row in table in changes it to </p> <pre><code>&lt;link href="http://localhost:50309/netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" runat="server" rel="stylesheet" /&gt; </code></pre> <p>Which is becoming pretty annoying.</p> <p>Does anyone have any idea about how to disable this feature ?</p> <p>I would also like to note that I have Productivity Power Tools 2012 installed Web Essentials 2012 (but i've disabled them both and still not luck Thanks!</p> <p><strong>Update 1:</strong> <strong>Steps to reproduce</strong></p> <ul> <li><p>Create a new .aspx page</p></li> <li><p>Paste <code>&lt;link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" /&gt;</code> between the head tags.</p></li> <li><p>Go to split view</p></li> <li><p>Write some text between the divs </p></li> <li><p>The href changes to <code>&lt;link href="http://localhost:50309/netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" /&gt;</code> (port may vary :D)</p></li> </ul> <p><strong>Update 2:</strong> <strong>Microsoft Bug Report Connect Link</strong></p> <p><a href="https://connect.microsoft.com/VisualStudio/feedback/details/793557/visual-studio-2012-changing-link-href-when-using-asp-net-in-design-view#details" rel="noreferrer">https://connect.microsoft.com/VisualStudio/feedback/details/793557/visual-studio-2012-changing-link-href-when-using-asp-net-in-design-view#details</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload