title: Visual Studio - ExcludeFromCodeCoverage
body: <p>I have Visual Studio 2010 Ultimate and C# and am doing unit tests and viewing code coverage.  There are some classes I want to exclude from the code coverage, so I read that you can use the</p>
  
  <p>[ExcludeFromCodeCoverage]</p>
  
  <p>Attribute.  The only problem is it causes a red line underneath it and it has the dreaded</p>
  
  <p>Error   16  The type or namespace name 'ExcludeFromCodeCoverage' could not be found (are you missing a using directive or an assembly reference?)</p>
  
  <p>What am I doing wrong?  I even have a 'using System.Diagnostics.CodeAnalysis;' line, and the right click->resolve does not present itself with any fixes.   </p>