我正在使用TFS for Automation构建,我在服务器上安装了TFS-2013,.net framework 4.5.1。我在TFS中创建了一个应用程序和构建定义。在TFS中构建失败
当我触发从我的系统构建,其显示的错误:
C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (97): Invalid static method invocation syntax: "[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
)).
是否需要的Visual Studio TFS服务器上解析给我吗? –
除非它也是构建服务器(不推荐) –
我的构建服务器上安装了VS2013,并且也出现此错误。 – Shiv