title: Visual Studio IDE error - Cannot access a disposed object
body: <p>I'm getting the following error when trying to open any .cs file in my solution.</p>
  
  <p><a href="https://i.stack.imgur.com/3Gxk9.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3Gxk9.png" alt="enter image description here"></a></p>
  
  <p>I've tried 1) restarting Visual Studio, 2) restarting computer, 3) delete all obj folders, 4) delete all .vs files and folders and still I can't open any files.</p>
  
  <p>Same error message if I double click on the file in solution explorer or use F7.</p>
  
  <p>The files do exist.</p>
  
  <p>I've also tried disabling resharper in case it was that causing the issues, but it doesn't help.</p>
  
  <p>I've also tried navigating to classes using Ctrl+T, entering class name and selecting the class. No error messages, but nothing loads.</p>