VS 2017 immediate window shows "Internal error in the C# compiler" : <p>I use Visual Studio 2017 (15.6.6). When debugging, I try to evaluate simple expressions like <code>int a = 2;</code> in the immediate window. An error</p>

<blockquote>
  <p>Internal error in the C# compiler</p>
</blockquote>

<p>is thrown.</p>

<p>I tried to enable <code>Use Managed Compatibility Mode</code> as hinted at in <a href="https://stackoverflow.com/questions/48572079">this question</a> but it didn't help.</p>

<p>Thanks for any help.</p>
