Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

Adding a new checkIn policy for VS2008 in Windows 7

$
0
0

Hi,

I have created a CheckIn policy using Visual C# 2008 and i am trying to add it to VS2008 checkIn policies in Windows 7. I have created a key(CheckForCommentsPolicy) in  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\TeamFoundation\SourceControl\Checkin Policies and added value <dll path>\CheckForCommentsPolicy.dll.After i opened VS2008 and i cant find newly added policy in the source control!.I added same toHKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\TeamFoundation\SourceControl\Checkin Policies  and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\11.0\TeamFoundation\SourceControl\Checkin Policies  and its working in VS2012.Why its not working in VS2008?anything i am missing?

EDIT:

 I found out that i had referenced a new version of  Microsoft.TeamFoundation.VersionControl.Client.dll file.So i added reference to same version of .dll.Now checkIn policy is visible in list but while adding some internal error occuring.

Why this is happening?

Thank you



Viewing all articles
Browse latest Browse all 6687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>