Internal error in Changeset Comments Policy after updating VS2015 to Update 1

谁都会走 提交于 2019-12-03 07:23:42
Andreas

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

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

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"

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

- NOTE: Please dont forget to RESTART Visual Studio after doing this change in order to start cheking in seamlessly.

The suggested answer didn't work for me on VS 2015. I already had the junction, yet I was seeing the error.

https://devblogs.microsoft.com/buckh/internal-error-loading-the-changeset-comments-checkin-policy/ pointed me to this:

Cause

With VS 2005 through 2010, to get the Changeset Comments policy, you had to download and install the Team Foundation Power Tools.

and I had to download and install Microsoft Visual Studio Team Foundation Server 2015 Power Tools.

It's available within VS here:
Visual Studio 2015 > Tools > Extensions and Updates:

VS needs to be restarted after this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!