Microsoft.Build.Utilities.ToolLocationHelper error on TeamCity
问题 Although my solution is building on my local machine, it throws this error on TeamCity when I use "Visual Studio (sln)" as the runner for the build step: [Microsoft.Build.Utilities.ToolLocationHelper]::GetPlatformSDKDisplayName($(TargetPlatformIdentifier), $(TargetPlatformVersion))". Method 'Microsoft.Build.Utilities.ToolLocationHelper.GetPlatformSDKDisplayName' not found. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine( a , b )).