Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8091615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:06:16+00:00 2026-06-05T20:06:16+00:00

On the project that I’m currently working I have a requirement to run a

  • 0

On the project that I’m currently working I have a requirement to run a shell command over some static files prior to check-in into TFS.

Is it possible to use TFS checkin policies to force a developer to run a shell script prior to check-in?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:06:17+00:00Added an answer on June 5, 2026 at 8:06 pm

    Check-in Policies are designed for this purpose: to check for something in order to “authorize” the check-in.

    You’ll find an interesting video here about how to develop one. You’ll see that it’s really easy and once you did your first you will want to customize more TFS.

    In you case you will have two options (IMHO):

    1. Run the shell command in the Evaluate method of the check-in policy.
    2. Make the check if the user manually ran the shell command in the Evaluate method.

    The first should be the best but it bothers me a bit because it’s not the true purpose of the check-in policies to perform a task upfront, but I can’t think about why it shouldn’t work. And maybe you’ll have to go that way it the second solution is not possible.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a project that I'm currently working on but it currently only supports
I have a Maven project that uses the jaxb2-maven-plugin to compile some xsd files.
I currently have one project that currently contains multiple packages. These packages make up
The project that I am currently working on at the moment uses SVN for
The project that I have just joined uses the command pattern quite extensively for
I have a maven project that I run using jetty: $ mvn run:jetty Where
The project that I've been working on involves porting some old code. Right now
The project that I'm currently working on, is large scale. I'm using email activation
The project that I'm currently working on involves translating a website that was written
For a project that I’m developing, I have to use Linq to create some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.