Custom policies in Visual Studio 2012 and TFS 2010
Asked Answered
D

2

6

I installed Visual Studio 2012 and connect to TFS 2010. Unfortunately I can't check-in because of policy. I get an error:

Internal error in Custom Path Policy. Error loading the Custom Path Policy (The policy assembly 'Microsoft.TeamFoundation.PowerTools.CheckinPolicies.CustomPathPolicy, Version=10.0.0.0, ...' is not registered.).

Does anybody know how to resolve this problem?

Dread answered 17/8, 2012 at 14:23 Comment(0)
D
8

Ok, after installing Power Tools for TFS11 I don't have this problem.

Dread answered 20/8, 2012 at 14:7 Comment(4)
Silly question, but did you install it on the server or client machine? Did you get it from here: link ? I have the same problem with VS2012 & TFS 2010 but when I install the TFS 11 Power Tools (client machine) I get an message about the TFS Backup Plan not being installed on the App Tier.Debut
I install it on client, I also got that message but when I use Custom installation instead of Typical, installation was successfully completed. Now I have only problems with StyleCop Check-in policy.Diathermy
Just an update that it's now called: Microsoft Visual Studio Team Foundation Server 2012 Power Tools visualstudiogallery.msdn.microsoft.com/…Tooth
and same for 2013... may want to edit this so it just says "install the appropriate Power Tools for TFS (2010, 11, 13, 15) because this issue is related to that suite of tools" or something.Supersession
D
1

In Team Explorer, try right clicking Team Members, Personal Settings and tick "install downloaded custom components" and/or click the Download Now button

Danieldaniela answered 17/8, 2012 at 14:26 Comment(1)
I was also facing the same issue with lots of Internal errors in Custom Path Policy. I just followed the same above instruction and It solved the issue. But remember we also need to restart the VS and "pending changes" tab to reflect the downloaded policies.Slivovitz

© 2022 - 2024 — McMap. All rights reserved.