title: Why is Resharper showing a red 'Cannot Resolve Symbol' error?
body: <p>I have Resharper 10 installed in Visual Studio 2013.  My solution contains a view .cshtml file that displays a date using Razor.  However, Resharper displays the DateTime with a red warning highlight, and prompts me to import the System.DateTime namespace - please see the linked image:</p>
  
  <p><a href="https://i.stack.imgur.com/pFfN1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pFfN1.png" alt="enter image description here"></a></p>
  
  <p>The strange thing is that when my colleagues open the solution on their machines - exactly the same code, using the same version of VS2013 with the same Resharper version - there is no Resharper error.</p>
  
  <p>The namespaces section of the Web.config file in the Views folder looks like this:</p>
  
  <pre><code>&lt;namespaces&gt;
      &lt;add namespace="System.Web.Mvc" /&gt;
      &lt;add namespace="System.Web.Mvc.Ajax" /&gt;
      &lt;add namespace="System.Web.Mvc.Html" /&gt;
      &lt;add namespace="System.Web.Routing" /&gt;
  &lt;/namespaces&gt;
  </code></pre>
  
  <p>If I add the System namespace, ie:</p>
  
  <pre><code>&lt;add namespace="System" /&gt;
  </code></pre>
  
  <p>.. then the issue goes away.  But - this doesn't explain why the issue only appears on one machine, and not on others.</p>
  
  <p>I've tried cleaning the solution, suspending &amp; resuming Resharper, clearing the Resharper cache, deleting the .suo file for the project, etc.</p>
  
  <p>This seems so simple, but I really cannot figure out why R# would warn me on one machine, but not on others, when the code and environment seem to be identical.</p>
  
  <p>The solution builds and runs successfully, without any warnings.  If I disable Resharper, the error disappears.</p>
  
  <p>Any suggestions? Could Resharper's warning be a result of some wider configuration issue on my machine?</p>