简体   繁体   中英

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. 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

Now we want to move to Visual Studio online from onpremise. Trying to setup a build process with Private Build agent. I have created an VM , installed and registerd agent. 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.

TFS22501: Creating a build definition requires a build controller be defined for this team project collection. 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. The VSTS agent is for the new build system.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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