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

  • Home
  • SEARCH
  • 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 134439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:36:49+00:00 2026-05-11T06:36:49+00:00

So, I killed the build today by checking in a config file. It knows

  • 0

So, I killed the build today by checking in a config file. It knows where the server is (think SQL server or the like), and I’ve been working against the server which runs on my box. Normally, or rather, under other circumstances, we’d run against the central server. The daily build, of course, didn’t find ‘my’ server, hence the breakage. Then again, editing the config file to point to the ‘normal’ server before the checkin, and editing it again after checkin is tendious.

I’ve been tempted to have VC just ignore the config file, so that it doesn’t get checked in accidentally. On the other hand, the repository should contain a clean, usable version of the file. I can’t possibly ignore it and have it checked in at the same time, now, could I?

So, what I’m looking for would be a way to have a file which, errr, which checks out, but never checks in. At least in the most common case – should the config file change significantly, some special procedure to get the new version into the repository would be doable.

If You folks have come across this problem before, I’d be interested about any solutions You have found. As long as they don’t break the build, that is 😉

  • 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. 2026-05-11T06:36:50+00:00Added an answer on May 11, 2026 at 6:36 am

    What you can do is have a default config file that stays unchanged, unless some new config is added. Then you have a different file that overrides the default file’s configs.

    config.Default.xml config.User.xml 

    Only config.Default.xml is source controlled. config.User.xml contains only the configurations that are different for you. So, say you are testing on a local SQL server, you put only the connection string in there and it will override the config.Default connection string.

    Take a look at .Net Framwork Application Configuration, it does most (if not all) of the work for you.

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

Sidebar

Related Questions

nunit tests fails when run through cc.net saying process timeout. Process has been killed
How I can deallocate resources when the process gets killed by, for example, the
How do you go about doing a daily build and striving for a zero-defect
Is there any way to build some time counter that enable parts of a
I've killed half a day trying to compile matplotlib for python on Snow Leopard.
I'm trying to run a batch file, as another user, from my web app.
I had recently a problem with oom-killer starting to kill processes after some time.
I have what I believe is a killer idea for an application. By definition,
I have a job running under Hudson that has not progressed from Started by
Scenario: There is a complex piece of software that is annoying to launch by

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.