PROBLEM:
I have a master page where the CSS is embdeded, and I am trying to access the CSS classes through the VS2012 intellisense on my partial views.
RESEARCH & SOLUTIONS:
I have spent many hours now trying to resolve this issue and have noted a number of other stackoverflow posts regarding this issue:
Viewing CSS Intellisense in partial views and Content pages - Visual Studio 2010?
Why does Visual Studio not resolve my CSS class names?
someone has also posted a video showing the EXACT issue I'm having: http://www.youtube.com/watch?v=1bp1TxswSHQ
The solutions provided are to use relative path with the @if (false) {... trick on the partial view page:
@if (false) {
<link type="text/css" rel="Stylesheet" href="../../content/css/styles.css"/>
}
OR, to use the following on the partial view:
<link rel="stylesheet" runat="server" media="screen" href="~/content/css/styles.css" />
None of these seem to work for me.
I am using VS 2012 Express.
Any ideas?