TFS 2010 构建模板无法在设计器中打开 - 如何修复?
我可以打开作为 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
解决办法就是关闭并关闭重新打开 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 :-)