Team Foundation Server checkin policies.
Questions tagged [checkin-policy]
53 questions
2
votes
0 answers
Custom TFS Check-In Policy: "Uncheck" a checked pending change during evaluation
I have an Check-In-Policy extension for VS2017 (using TFS 2017) that checks if the pending check-in contains files matching a given regex.
In case matching files are contained in CheckedPendingChanges the Evaluate method returns the PolicyFailure to…

René Vogt
- 43,056
- 14
- 77
- 99
2
votes
1 answer
TFS 2013 Custom Check in Policy
I'm trying to implement a custom policy for a specific team project (projectA). However when I implement this in the context of projectA, it evaluates for every file in the included check ins. Say I have a check in for ProjectB larger than 1MB. It…

ace
- 53
- 1
- 6
2
votes
2 answers
"TF237124: Work Item is not ready to save" on associated workitem, but code is checked in regardless
We made a few fields in bugs required before allowing to resolve. However, when a developer tries to resolve with a checkin and those fields are not filled in, it still allows the checkin to occur w/out associating that bug - is there a way to NOT…

dan
- 801
- 15
- 41
2
votes
0 answers
Does TFS Checkin Policy Support Integration With Resharper Code Quality Analysis
We like using the ReSharper Code Quality feature at our company to help with code standards.
I was wondering if there is a way to integrate this ReSharper feature with TFS Checkin Policy
(similar to how style cop is used)?
In other words: Could we…

Ken Burkhardt
- 3,528
- 6
- 33
- 45
2
votes
2 answers
VS 2013 doesn't see my custom check-in policies
I have custom check-in policies deploying via VSIX. Now I'm trying to use them in Visual Studio 2013.
What I did:
I opened my policies in VS 2013. Changed "Install Targets" in vsixmanifest to [10.0, 13.0).
Then built project, installed VSIX and…

Дмитро Кононенко
- 415
- 4
- 18
2
votes
2 answers
VSIX Custom Checkin Policy not loading
I'm attempting to modify a custom Checkin Policy to work against Visual Studio 2013.
At first, I attempted to just add a new section to the manifest for 2013:
Ultimate
…

Obsidian Phoenix
- 4,083
- 1
- 22
- 60
2
votes
1 answer
Is it possible to setup a private TFS checkin policy?
As I understand the checkin-policy are set on the server, but enforced on the client.
Since they are enforced on the client, is there a way to setup a private checkin policy.
I want to have a checkin policy for myself, but I can't set it on the TFS…

Stéphane
- 11,755
- 7
- 49
- 63
1
vote
1 answer
Is it possible to lock down checkins against specific TFS 2010 work items?
I'm a configuration manager currently learning about TFS functionality. We've chosen the CMMI process template and my 'problem' is that I don't understand the checkin / work item association permissions. For example, it seems I can associate my…

DaveD
- 11
- 1
1
vote
1 answer
Visual Studio Check In Policy in combination with .NET analyzers
We worked before with FxCop Code Analyzers and TFS check in policies.
I can find articles to migrate the code analysis to .Net Analyzer.
I changed a project and the code analysis seems to be working after removing the deprecated FxCop.
But I cannot…

Picard
- 138
- 10
1
vote
1 answer
Auto-install TFS custom check-in policy to client Visual Studio
In our project, we want to use my custom check-in policy in TFS because sometimes temporary developers need to check-in some code in the repository, but they do not carry out our project requirements.
I wrote check-in policy that prevents this, but…

Sergey Virstyuk
- 13
- 2
1
vote
0 answers
PolicyDefinition result return empty collection using Java SDK of TFS 2015 "tp.getCheckinPolicies()" or "vcc.getCheckinPoliciesForServerPaths()"
Does anyone tried to retrieve PolicyDefinition using Java SDK of TFS 2015?
I have used following code to retrieve the PolicyDefinition under intelliJ Plugin. Code execute fine but I am getting empty collection of PolicyDefinition. I am working on…

Subodh
- 13
- 5
1
vote
1 answer
Check-In Policy in Git VSTS
How can i set check-in policy for git in VSTS as i can see only branch policies available.Is there any plugin available for check-in policy in Git as i want to apply below check-in policy before developers check-in any code
• Builds: Requires that…

Priya.D
- 111
- 9
1
vote
1 answer
Work Item Query Policy to check workitems match on merge
With our TFS 2015 source control we require developers to check-in changes against work items.
However, we've had a couple of instances where a developer has checked in against one work item within our development branch, but then when merging to…

user676437
- 201
- 1
- 4
- 13
1
vote
1 answer
Code review Check-in policy for Visual Studio Online
Is there a OOB Code review policy on check in for TFS online
i took a look at http://visualstudiogallery.msdn.microsoft.com/3bd2115e-9009-414b-bb5b-a0a64e4dad9e/view/Discussions
but this seems to be for tfs 2013 on prem.
If not, ca someone point me…

Rajat banerjee
- 1,781
- 3
- 17
- 35
1
vote
0 answers
TFS Online 2012 / How to Deploy Custom Check-In Policies
I am going to create a custom check-in policy and I'm using TFS Online and VS2012. I could find a video describing this procedure but it's rather old documentation. I've tried to find clear documentation on how to accomplish this in my specific…

Jani Hyytiäinen
- 5,293
- 36
- 45