Questions tagged [checkin-policy]

Team Foundation Server checkin policies.

53 questions
1
vote
0 answers

Internal error while adding a new checkIn policy for VS2008 in Windows 7

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 …
IT researcher
  • 3,274
  • 17
  • 79
  • 143
1
vote
2 answers

How to Programatically get TFS Team Project Name

I am creating a check-in policy using: using Microsoft.TeamFoundation.VersionControl.Client; I want to get the current TFS Team Project Name from the current workspace or the PendingCheckin Any ideas?
jpsnow72
  • 965
  • 2
  • 15
  • 45
1
vote
1 answer

How to use StyleCop checkin policy with VS2012 TFS2010

I am using Visual Studio 2012 with TFS 2010, I want to use StyleCop checkin policy but it doesn't work. I have installed StyleCop, StyleCop Check-In Policy for TFS 2010 and Team Foundation Power Tools 2010 on server and client, still no benefit.
Waqas
  • 424
  • 7
  • 15
0
votes
2 answers

How to configure person to be notified if any check-in policy was avoided in TFS?

We are using TFS 2008 and switched on "Work Items" check-in policy (requirement to assosiate check-in with 1 or more work items). In this case developers still have an option to avoid following policy: they could mark “Override policy failure and…
Budda
  • 18,015
  • 33
  • 124
  • 206
0
votes
2 answers

Incorporating TFS check in policy for proper file name

The context: Some developers are not maintaining proper naming conventions before check in their code. Hence, those artifacts are not been picked up by the build process, hence the dependencies are broken and causes failure after deployment on the…
Nilanjan Saha
  • 451
  • 4
  • 6
0
votes
1 answer

Visual Studio 2015/7 Reset to as if i just installed it

I am working with VS2015/2017 Enterprise, and having an on premise TFS. As part of our check-in policy, we require to insert Code reviewer. Yet it appears that on some machines this Window is gone "Notes. Ive logged in to the a machine (windows 10)…
0
votes
1 answer

How to block TFS check-ins that contain a specific keyword?

I want to create a TFS policy that blocks a changeset from being checked in if a certain keyword is found in the diff. This will allow me to make local changes for testing ideas without worrying that these changes will be mistakanly checked in, as…
liorda
  • 1,552
  • 2
  • 15
  • 38
0
votes
2 answers

TFS REST API return empty check-in policy collection

I am working on intelliJ plugin to create check-in policy: I need to know how many check-in policies are applied on particular branch. I am using TFS JAVA SDK for retrieving the check-in policy configuration. But it is returning empty. Please refer…
0
votes
1 answer

How to create custom TFS check-in policies in .NET Core 2.0?

I'm familiar with the new deployment/installation design of VS 2017, and the way it leaves no footprint on registry. And I'm also familiar with how we need to change our check-in policy installation from registry manipulation to VS extension…
0
votes
1 answer

How can I set policies in VSTS 2017 for all project team members

I found info to set a policy such as check in on each computer in Visual Studio but I am hoping to set it in VSTS 2017 for all project team members. Is there such a way?
Bob Hanson
  • 31
  • 3
0
votes
2 answers

How do you test a custom VSTS/TFS Check-In Policy in Visual Studio 2017?

I am working on creating a customized VSTS/TFS Check-In Policy. I followed the guidance given from this answer on how to create the check-in policy. Basically, I downloaded the source code from Colin's ALM Policy and made a few modifications to see…
myermian
  • 31,823
  • 24
  • 123
  • 215
0
votes
1 answer

Creating custom after check-in policy in TFS2013 for code review notifications

I know we can create custom check-in policy in TFS 2013 that will restrict the user to check-in the code without code review. I have a requirement in our company for the developers where in I have to develop something where a specific file…
Sri Reddy
  • 6,832
  • 20
  • 70
  • 112
0
votes
1 answer

Team Exlorer 2013 - how to change check in policy?

We've migrated projects and code from TFS2008 to TFS2013. Can some kind person tell me how to change or edit the Check In Policy that we were using in TFS2008? Our old policy is proving a bit troublesome in the 2013 world, and I can't find this…
haughtonomous
  • 4,602
  • 11
  • 34
  • 52
0
votes
1 answer

Automate and simplify the check-in after code review completion in TFS

I would like to automate the code review process to check in easily in Team Foundation Server. It is possible to add code review in the check-in policy, but the problem is that it creates a lot of back and forth, even if the code review is okay and…
Léo Davesne
  • 2,103
  • 1
  • 21
  • 24
0
votes
2 answers

TFS Checkin plocies for different version of Visual Studio

I created a Custom Checkin policy and build it in Visual Studio 2013 and also build it in Visual Studio 2012 so that whoever using Vs 2012 can use the policy and successfully registered the policy to all machines. I applied the policy to a Team…
Dilshod
  • 3,189
  • 3
  • 36
  • 67