title: Error CS1056: Unexpected character '$' running the msbuild on a tfs continuous integration process
body: <p>I have a project that the framework is targeting <code>.NET Framework 4.6.1</code>, as part of the continuous integration process on the tfs we created a Build Solution task to ensure that the code compiles correctly.<br>
  Now the TFS server has the latest version of the <code>.Net Famework 4.6.2</code>. On the register this is the value for the Release key of the framework</p>
  
  <blockquote>
    <p>On all other OS versions: 394806  => .NET Framework 4.6.2</p>
  </blockquote>
  
  <p>But when the build runs it comes with this error:</p>
  
  <pre><code>Error CS1056: Unexpected character '$'
  </code></pre>
  
  <p>I don't want to replace the string interpolation with the <code>string.Format</code> to solve this issue, please provide another workaround to solve it.</p>
  
  <p>Do I need to install something else on the TFS server?</p>