Does this works with TFS 2008?

Topics: Developer Forum
May 26, 2008 at 8:37 AM

I installed this as per the instructions given, I was able to import the xml into TFS but I do not see the policies coming in Team Explorer.
was wondering is this works with 2008?

Dec 3, 2008 at 6:08 PM
This will not work in VS 2008 straight from the download.  This was built with the version 8.0 objects for Team Foundation Server.
You can get this to work in VS 2008 using the following steps:
  1. Download the source code
  2. Open project and convert to VS 2008
  3. Remove all references to the Team Foundation Server objects (Note:

    There is a bug in the code that will allow a checkin without approval.  This is caused by the boolean allCodeReviewsApproved being defaulted to true.  Change the default to false and add a line of code inside the "If ... Approved" block.)


  4. Add new references for the Team Foundation Server objects
  5. Build code
  6. Overwrite old DLL with VS 2008 version



Feb 8, 2009 at 10:56 PM
See the patch list
Oct 2, 2009 at 12:10 PM

Dear Muscter

                  May I know the line of code which I would be add in approved block. I am trying but unable to resolve this issue and unable to apply this policy in TFS2008. Please let me know the details that how can I resolved this issue.

Oct 2, 2009 at 5:28 PM

mwaseemalvi - I've made these changes and uploaded them to the patch list. Have you already tried that?




Aug 12, 2011 at 4:43 PM
Edited Aug 12, 2011 at 4:44 PM

Can this work with TFS 2010 and VS 2010 using the same process as above to get it to work in 2008?

Thank you