我尝试使用ExtensionPack for 2013 TeamBuild运行msbuild脚本
我无法连接到服务器,所以我想知道这是否仅适用于基于服务器的TFS构建?
以下BuildScript的错误是:
TeamFoundationServiceUnavailableException TF31002Unable to connect to this Team Foundation Server
这是构建脚本
<Project ToolsVersion="4.0" DefaultTargets="Default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="C:\Program Files\MSBuild\ExtensionPack\4.0\MsBuild.ExtensionPack.Tasks" />
<PropertyGroup>
<TeamFoundationServerUrl>https://#####.visualstudio.com/</TeamFoundationServerUrl>
<TeamProject>IT Development</TeamProject>
<BuildUri></BuildUri>
<BuildDefinitionName>Order Deploy Test</BuildDefinitionName>
</PropertyGroup>
<Target Name="Default">
<!-- Queue a new build -->
<MSBuild.ExtensionPack.Tfs2013.TeamBuild
TaskAction="Queue"
TeamFoundationServerUrl="$(TeamFoundationServerUrl)"
TeamProject="$(TeamProject)"
BuildDefinitionName="$(BuildDefinitionName)"/>
</Target>
</Project>