[英]Could not load file or assembly 'Microsoft.TeamFoundation.Build.Workflow, version 14.0.0.0' when opening tfs XAML build on vs 2017
When opening TFS XAML build on vs 2017 the error popup shows but its working fine in vs 2015. We cannot seem to find any missing reference for this assembly. 在vs 2017上打开TFS XAML构建时,会显示错误弹出窗口,但在vs 2015中可以正常工作。我们似乎找不到该程序集的任何缺失参考。 thank you. 谢谢。
We've update all the assembly reference to vs 2017 error popup image 我们更新了所有组件参考至vs 2017 错误弹出图像
You can find the DLL for 'Microsoft.TeamFoundation.Build.Workflow in c:\\program files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer
. 您可以在c:\\program files (x86)\\Microsoft Visual Studio 14.0\\Common7\\IDE\\CommonExtensions\\Microsoft\\TeamFoundation\\Team Explorer
找到'Microsoft.TeamFoundation.Build.Workflow的DLL。
Please check if the version matches with the one you have. 请检查版本是否与您拥有的版本匹配。 If the version matches, clean project, restart your tfs server (to clear cache) and build again. 如果版本匹配,请清理项目,重新启动tfs服务器(以清除缓存)并重新构建。 If the version doesnt match, use the correct version (14.0.0.0) and clean project, restart your tfs server (to clear cache) and build again. 如果版本不匹配,请使用正确的版本(14.0.0.0)并清理项目,重新启动tfs服务器(以清除缓存)并重新构建。
This seems to be a client side environment issue. 这似乎是客户端环境问题。 Have a try with below solution came from this similar question: "Could not load file or assembly 'Microsoft.Build, Version=14.0.0.0" after switching to VS 2017 尝试以下解决方案来自类似的问题: 切换到VS 2017后,“无法加载文件或程序集'Microsoft.Build,版本= 14.0.0.0”
Install the Microsoft Build Tools 2015 https://www.microsoft.com/en-us/download/details.aspx?id=48159 安装Microsoft Build Tools 2015 https://www.microsoft.com/zh-cn/download/details.aspx?id=48159
Besides also try to clear TFS cache , which may do the trick. 此外,还尝试清除TFS缓存 ,这可以解决问题。
If all above still not work, please also upgrade your visual studio version to the latest of VS2017. 如果上述所有方法仍然无效,请同时将Visual Studio版本升级到最新的VS2017。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.