When linking to CSS via CDN, Visual Studio displays an "Unknown CSS Class" error. My CSS link:
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" rel="stylesheet">
My HTML tag that causes the error:
<div class="row">
I know there is a way to work with a false condition:
<% if (false) { %>
<link rel="Stylesheet" href="style.css" type="text/css" />
<% } %>
But this is a kind of hacking and too much trouble. Does anyone know how Microsoft officially addresses this intellisense CSS issue through the CDN issue?
source
share