构建过程模板始终为空 - VS2012 &MS TFS 存储库 [英] Build process template always empty - VS2012 & MS TFS repository

查看:27
本文介绍了构建过程模板始终为空 - VS2012 &MS TFS 存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 VS2012 在 TFS 上定义一个新版本.当我转到 New Build Definition -> Processes 时,我看到Build process template"和一个空的下拉列表.

I'm trying to define a new build on TFS using VS2012. When I go to New Build Definition -> Processes I'm seeing "Build process template" and an empty drop down.

我点击新建..."按钮从

I click on the "New..." button selects the default template from

$/<My Project Name>/BuildProcessTemplates/DefaultTemplate.11.1.xaml

然后单击确定",但出现错误:

and click OK but then I'm getting the error:

TF277000: A build process template for '$/<My Project Name>/BuildProcessTemplates/DefaultTemplate.11.1.xaml' already exists for team project <Project Name>. You cannot create another build process template for the same file. Use the existing one instead.

下拉菜单始终为空.我试图清理缓存(AppData\Local\Microsoft\Team Foundation\4.0)和其他一些很棒的技巧,比如关闭和打开,但没有任何帮助 - 下拉菜单保持为空.

the drop down always stay empty. I tried to clean cache(AppData\Local\Microsoft\Team Foundation\4.0) and other sort brilliant tricks like close and open but nothing helped - the drop down stays empty.

我非常感谢您的帮助.

推荐答案

我最近遇到了同样的问题,在尝试添加新的构建定义时无法看到构建过程模板.我们在 TFS 2012 中.这个团队项目似乎也没有任何构建定义.不过,这是意料之中的,因为我们尚未在此团队项目中使用 TFS 构建.

I recently ran into the same problem with not being able to see build process templates when trying to add a new build definition. We are in TFS 2012. This team project also appeared not to have any build definitions. That was expected though because we had not yet used the TFS builds on this team project.

该问题是由具有管理员权限的人将查看构建定义"和查看构建"访问权限设置为拒绝所有人造成的.

The problem was caused by someone with admin rights setting the "View build definition" and the "View Builds" access rights to Deny for everyone.

通过在 TFS 组中将其重新设置为允许,我们突然可以看到构建定义,并且还能够选择构建过程模板.

By just setting that back to allow on the TFS group, we suddenly could see the build definitions and also were able to select build process templates.

它让我们添加新的构建过程模板真的很奇怪,但我们无法选择它们.

It was really strange that it let us add new build process templates, but we couldn't select them.

这篇关于构建过程模板始终为空 - VS2012 &amp;MS TFS 存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆