将VS2015更新为Update 1之后,Changeset Comments Policy中的内部错误 [英] Internal error in Changeset Comments Policy after updating VS2015 to Update 1

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

问题描述

大约一个小时前,一切都很好,当我尝试办理登机手续时,这位政策友好的人士提醒我为办理登机手续提供意见".然后我像某些同事一样安装了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,版本= 10.0.0.0,区域性=中性,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.0 \ Common7 \ IDE \ CommonExtensions \ Microsoft \ TeamFoundation

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation

非常空,我的同事在那儿有一个路口,通向这个文件夹

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

C:\ Program Files(x86)\ Microsoft Visual Studio 14.0 \ Common7 \ IDE \ Extensions \ XXXXXXX

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\XXXXXXX

其中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.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\XXXXXX"

(注意,您需要用计算机上的文件夹名称替换XXXXX)

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

-注意:请不要忘记在进行此更改后重新启动Visual Studio,以便无缝地插入.

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

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