Registry path for TFS2010 custom validation policy?

How can I register my own registration policy for VS2010 / TFS2010?

In 2008, this was the next path: HKEY_LOCAL_MACHINE \ Software \ Microsoft \ VisualStudio \ 8.0 \ TeamFoundation \ SourceControl \ Checkin Policies

But during 2010, the path ends after TeamFoundation, although I already have some registered policies from Power Tools.

I managed to find this MSDN blog:

http://blogs.msdn.com/b/jimlamb/archive/2010/03/31/how-to-implement-package-and-deploy-custom-check-in-policy-for-tfs-2010.aspx

But there it only shows how to register in the VSIX pkgdef file (which for me does not work completely). I can add the policy to VS2010, but I get a "build without registering" error if I try: enter image description here

http://dl.dropbox.com/u/974862/Office/checkin_error.JPG

Any ideas?

+5
source share
1 answer

I found the answer on the MSDN forums:

Regedit.exe HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\VisualStudio\10.0\TeamFoundation\SourceControl\Checkin (TFS2010) . , "", "" . (DLL), DLL; CheckForCommentsPolicy . : DLL , DLL. .dll .

http://social.msdn.microsoft.com/Forums/en/tfsadmin/thread/490f393c-8a37-40ba-aef8-f95b5d736489

+3

All Articles