title: Invalid static method invocation syntax: "[MSBuild]::IsRunningFromVisualStudio()"
body: <p>After upgrading to Visual Studio 2017 15.5 none of my project will load correctly. All are marked unavailable.</p>
  
  <p>I'm getting the following error for every project:</p>
  
  <blockquote>
    <p>error  : Invalid static method invocation syntax: "[MSBuild]::IsRunningFromVisualStudio()". Method '[MSBuild]::IsRunningFromVisualStudio' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(<code>a</code>, <code>b</code>)).   C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets</p>
  </blockquote>
  
  <p>Reloading project produces this error prompt:
  <a href="https://i.stack.imgur.com/9dfHM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9dfHM.png" alt="enter image description here"></a></p>
  
  <p>Adding new projects produce this error prompt:</p>
  
  <p><a href="https://i.stack.imgur.com/jvfF6.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jvfF6.png" alt="enter image description here"></a></p>