Error CS1056: Unexpected character '$' running the msbuild on a tfs continuous integration process
问题 I have a project that the framework is targeting .NET Framework 4.6.1 , as part of the continuous integration process on the tfs we created a Build Solution task to ensure that the code compiles correctly. Now the TFS server has the latest version of the .Net Famework 4.6.2 . On the register this is the value for the Release key of the framework On all other OS versions: 394806 => .NET Framework 4.6.2 But when the build runs it comes with this error: Error CS1056: Unexpected character '$' I