简体   繁体   English

Visual Studio Online-具有XAML生成定义2的错误TFS 22501

[英]Visual Studio Online - Error TFS 22501 with XAML Build Definition 2

Currently, we are using TFS 2012 and we have a heavily customized build process as described below. 当前,我们正在使用TFS 2012,并且我们有一个高度定制的构建过程,如下所述。 1. Build the source 2. Run an EXE as console to host WCF services 3. Restore databases on local sql server 4. Run functional test 5. delete databases 6. close the exe started in step 2. 7. Create an Installable exe using WiX ( Wix with custom bootstratpper) 8. Update version number file to TFS 1.构建源2.运行EXE作为控制台来承载WCF服务3.在本地sql服务器上还原数据库4.运行功能测试5.删除数据库6.关闭在步骤2中启动的exe。7.使用以下命令创建可安装的exe WiX(带有自定义引导程序的Wix)8.将版本号文件更新为TFS

Now we want to move to Visual Studio online from onpremise. 现在,我们想从本地在线迁移到Visual Studio。 Trying to setup a build process with Private Build agent. 尝试使用Private Build代理设置构建过程。 I have created an VM , installed and registerd agent. 我创建了一个VM,已安装并注册了代理。 I do see agent name back in website. 我确实在网站上看到了代理商名称。 When I go back to Visual studio and try to create new xaml build definition I am getting below error. 当我回到Visual Studio并尝试创建新的xaml构建定义时,出现错误。

TFS22501: Creating a build definition requires a build controller be defined for this team project collection. TFS22501:创建构建定义要求为此团队项目集合定义一个构建控制器。 There may not be any controllers configured or you may not have permissions to view them. 可能没有配置任何控制器,或者您没有查看它们的权限。 contact your team foundation server administrator. 请与您的团队基础服务器管理员联系。

can somebody please help ? 有人可以帮忙吗?

If you're using XAML build, you have to use the old-style XAML build controller/agent. 如果使用XAML构建,则必须使用旧式XAML构建控制器/代理。 The VSTS agent is for the new build system. VSTS代理用于新的构建系统。

I would strongly recommend migrating your builds to the new build system as part of your migration to VS Team Services, as the XAML build system is effectively dead. 我强烈建议将您的内部版本迁移到新的内部版本系统,作为向VS Team Services迁移的一部分,因为XAML内部版本系统实际上已失效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM