将 VS2015 更新为 Update 1 后,变更集注释策略中的内部错误 [英] Internal error in Changeset Comments Policy after updating VS2015 to Update 1

查看:18
本文介绍了将 VS2015 更新为 Update 1 后,变更集注释策略中的内部错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大约一个小时前一切都很好,当我尝试办理登机手续时,政策友好提醒我为办理登机手续提供评论".然后我像我的一些同事一样安装了 VS2015 Update 1,之后,我在尝试检查某些内容时收到以下错误消息:

Everything was fine about an hour ago, when i tried to checkin something, the policy friendly reminded me to "provide a comment for the check-in". Then I installed VS2015 Update 1, like some of my colleagues did, and after that, i receive the following error message when trying to check something in:

变更集评论政策中的内部错误.加载变更集评论策略策略时出错(策略程序集Microsoft.TeamFoundation.PowerTools.CheckinPolicies.ChangesetComments, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"未注册.).安装说明:要安装此策略,请按照 CheckForComments.cs 中的说明进行操作.

Internal error in Changeset Comments Policy. Error loading the Changeset Comments Policy policy (The policy assembly 'Microsoft.TeamFoundation.PowerTools.CheckinPolicies.ChangesetComments, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered.). Installation instructions: To install this policy, follow the instructions in CheckForComments.cs.

我的同事们当然不会.据我所知,自 VS2012 以来,不再需要安装任何版本的 Power Tools,为什么会发生这种情况?此外,我还安装了 VS2013,但我没有收到该错误消息,该版本运行良好.有人知道我需要去哪里看吗?

My colleagues, of course, don't. As far as i know since VS2012 there is no need to install any version of the Power Tools anymore, so why does this happen? Additionally I also have VS2013 installed, where i do NOT get that error message, that version is working perfectly. Anyone having any idea where i need to look?

推荐答案

好的,我明白了.不知何故,安装搞砸了一些事情.在我的机器上文件夹

Okay, i got it. Somehow the installation messed something up. On my machine the folder

C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDECommonExtensionsMicrosoftTeamFoundation

C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDECommonExtensionsMicrosoftTeamFoundation

很空,我同事那里有个路口,通向这个文件夹

was pretty empty, where my colleagues had a junction there, leading to this folder

C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDEExtensionsXXXXXXX

C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDEExtensionsXXXXXXX

其中 XXXXXX 显然因机器而异.要找到正确的,请转到扩展文件夹(向上)并查找包含Microsoft.TeamFoundation.Build.Controls.dll"和其他一些 Teamfoundation dll 的文件夹,然后打开提升的命令提示符并创建缺少的连接像这样:

where XXXXXX obviously varies from machine to machine. To find the correct one, go to the extensions folder (one up) and look for the one that contains "Microsoft.TeamFoundation.Build.Controls.dll" and some other Teamfoundation dlls, then open an elevated command prompt and create the missing junction like so:

mklink /j "C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDECommonExtensionsMicrosoftTeamFoundationTeam Explorer" "C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDEExtensionsXXXXXX"

(注意,你需要用你机器上的文件夹名称替换XXXXX)

(watch out, you need to replace the XXXXX with the folder name on your machine)

- 注意:请不要忘记在执行此更改后重新启动 Visual Studio,以便无缝开始检查.

这篇关于将 VS2015 更新为 Update 1 后,变更集注释策略中的内部错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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