TFS 2010 构建模板无法在设计器中打开 - 如何修复?

发布于 2024-08-24 15:53:12 字数 635 浏览 5 评论 0原文

我可以打开作为 TFS 2010 RC 设置的一部分安装的 DefaultTemplate.xaml。我创建了该模板的一个副本,名为 ApplicationTemplate.xaml,并使用 Visual Studio 中的工作流设计器对其进行了轻微修改。

现在,我无法再打开 ApplicationTemplate.xaml。当我尝试时,我收到许多如下错误:

Error 2 Assembly 'Microsoft.TeamFoundation.Build.Client' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built. C:\Projects\tfs\Hydraulics\BuildProcessTemplates\ApplicationTemplate.xaml 1 1828 Miscellaneous Files

但是,我仍然可以打开并编辑 DefaultTemplate.xaml 文件,没有任何问题。

还有其他人遇到过这个问题吗?如果是这样,您是否设法解决了该问题,或者是否必须重新创建模板?

I can open the DefaultTemplate.xaml that was installed as part of our TFS 2010 RC setup. I created a copy of this template called ApplicationTemplate.xaml and modified it slightly, using the workflow designer in Visual Studio.

Now, I can no longer open ApplicationTemplate.xaml. When I try, I receive many errors like the following:

Error 2 Assembly 'Microsoft.TeamFoundation.Build.Client' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built. C:\Projects\tfs\Hydraulics\BuildProcessTemplates\ApplicationTemplate.xaml 1 1828 Miscellaneous Files

However, I can still open and edit the DefaultTemplate.xaml file without any issues.

Has anyone else come across this problem, & if so, did you manage to resolve it or did you have to recreate the template?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心是晴朗的。 2024-08-31 15:53:12

解决办法就是关闭并关闭重新打开 Visual Studio。我这样做了,所有参考文献都加载了,我可以再次在设计器中编辑工作流程。

我想我太习惯Emacs了;我从来没有想过重新启动我的编辑器作为无法打开文件的潜在解决方案:-)

The solution is just to shut down & re-open Visual Studio. I did that, and all the references load and I can edit the workflow in the designer again.

I think I'm too used to Emacs; restarting my editor never occurred to me as a potential solution to it failing to open a file :-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文