title: Visual Studio winforms project error list includes errors from a stray css file
body: <p>We do a whole mix of development projects, from Winforms to web projects to flat HTML sites. And we're switching between them all the time.</p>
  
  <p>It means that our IDE of choice is Visual Studio even for looking at flat HTML sites. So it means we might sometimes open an HTML file or even a CSS or .less file for a brief look at an issue even while we have a Winforms solution open.</p>
  
  <p>Obviously that must be what we've done because now we see in the <strong>Error List</strong> 3 errors from a stray/random .less file that has nothing to do with the current project. </p>
  
  <p>It doesn't stop the project building and running, of course. But it is slightly distracting to see the errors persisting there, and it's definitely a pain to do an F8 cycle through the current project's errors and encounter these "foreign" errors repeatedly.</p>
  
  <p>Restarting VS doesn't get rid of the problem.</p>
  
  <p><strong>Edit:</strong><br>
  For a given project I've tracked the .less file down to the <code>.suo</code> file. I guess I could delete the .suo file but I'd lose a bunch of settings for this project. It'd be nice to know how to remove the .less file from the solution. What are <code>&lt;MiscFiles&gt;</code> any way?</p>
  
  <p><img src="https://i.stack.imgur.com/MtnMV.jpg" alt="enter image description here"></p>