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 850989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:21:23+00:00 2026-05-15T07:21:23+00:00

I am using TFS 2008 and Visual Studio and my boss has instructed me

  • 0

I am using TFS 2008 and Visual Studio and my boss has instructed me to implement Build Automation for Development and Release builds for a web Project.

I am a total newbie in Build Automation.

There are multiple developers working on the project on different machines using Visual Studio 2008 team System. Source is already being maintained on TFS 2008. SQL Server in Use is SQL Server 2000 and hosted IIS is IIS 7.5 on Windows Server 2008 x64.

I have searched over the net and found Continuous Integration and Nightly Builds as two important Build Automation techniques.

I was just wondering of any disadvantages associated with both the methodologies (CI and Nightly Builds).

If someone could guide me to a working tutorial that explains both techniques the it would be quite helpful.

Please also tell the requirements of IIS, SQL Server and any other that might be pre-requisite to implement build automation.

Also i would like to know whether there are other techniques that are better then CI?

Replies and discussion much appreciated.

Thanks

  • 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-05-15T07:21:23+00:00Added an answer on May 15, 2026 at 7:21 am

    There are no real disadvantages, except that with CI your server will be busier.

    The reasons for these builds are:

    NB: Every morning you have a fully built release installer that you can test. You know all your code builds, and every day you have a release “ready” that you could send out if you wanted to. This is much better than having a programmer spend a day running through a “how to build a release” document step by step to create an installer every time you’re ready to release a new version! And your testers are able to test a complete release package, so you have confidence that every part of your release and installation process works as it’s getting a daily workout.

    CI: This is just a fast build that runs every time someone checks in. It tells you if you check in non-compiling code, so that the author can fix the problem immediately and minimise disruption to other team members. You can waste a lot of time when 4 or 5 programmers get the latest code and then find they can’t do any work for 2 hours until Fred fixes his bad checkin. Knowing about a broken net allows your programmers to avoid doing a Get unless the code has been verified as working.

    To implement NBs and CI you first need to get a build that will run on your server.

    • If you have a running TFS, then to create a build server you just need to install your dev tools (VS2008 and anything else needed to build the code, such as 3rd party libraries/build tools etc) as if it is a developer PC, and it’s ready to use as a build server. Just right click on the Builds folder and “Create new build” and you should be able to figure out most of it as you go. You have to give it a name, set up the workspace mappings to tell it where to build the code, and set up an output folder for the results to be “dropped” into, and you’ll be good to go.

    • You may need to tweak the setup of your projects to make this work well e.g. developers are terrible at putting references to “C:\Projects…” in their solutions, which often break when the project moves onto the D: drive of a buid server, etc. Also, rather annoyingly the build server will build code into different locations than your dev PCs, so you may find parts of the build process will break and you will have to reconfigure things like fixed locations for references etc so that they work on both Build and Dev machines.

    • Add as much of the process as you can (clean, get code, build it, run unit tests, obfuscate binaries, sign binaries, build installers, sign installers, copy to deployment folder) automated so that the NB can build everything and you get a fully releasable product at the press of a single button. Computers are good at this stuff, so don’t leave an error-prone and expensive to run human slaving away all day to make an installer!

    • Set the NB up to do a full rebuild (this should be the case by default) and use the Triggers settings to have it run every weeknight at (e.g.) 1am. The NB should build everything (a good, thorough build).

    • Copy the NB build settings to make a CI build. In the MSBuild project file, set these properties: IncrementalGet=true, IncrementalBuild=true, ForceGet=false. This will convert it to a fast incremental build. In the Workspace Mapping, Cloak or remove as many folders as possible to minimise the amount of code it Gets from source control, to help keep it fast. Set the build to only build one variant (e.g. Release) so it’ll be a quick build. In the Triggers (right click on the build and edit it), set it to build whenever there is a checkin.

    • Run the build monitor on all dev machines. This places an icon in your icon tray and give you optional notifications whenever builds start, complete, and fail. If your CI build fails you will then know about it immediately.

    Now, you should have a nightly build ready for testing every morning, and whenever anyone checks in any changes, a new incremental build will kick off, and you’ll know within a few minutes if you have broken the codebase in source control.

    (We have a third build, which is an incremental Test build. This is the same as the CI build, but it runs all our unit tests as well. This is executed nightly, and developers can trigger it whenever they wish to verify the codebase on the server (we use this as a gating mechanism before promoting to a the test branch). It’s a lot slower than the CI test, which is why it’s not used for the CI build – you want the CI build to finish as fast as possible)

    Note: To make the CI work, you will sometimes need to do a full rebuild. In the “Queue Build” dialog, enter these command line options to force this:

    /p:IncrementalGet=false;ForceGet=true;IncrementalBuild=false
    

    There aren’t any techniques that are “better” than CI. You can (and should) use CI in addition to all other processes you implement.

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

Sidebar

Related Questions

I am running a build using TFS 2008 to build a Visual Studio 2010
CONTEXT: I am preparing a big C# merge using visual studio 2008 and TFS.
We are using TFS 2008 / Visual Studio 2008 We are trying to merge
We're using MS Visual Studio 2008. TFS seems to take into account the creation
I'm using TFS 2008 and I would like to build some solutions in debug
When using TFS with a tool outside of Visual Studio (Specifially ORMS), modifications to
I use TFS 2008 for source control with Visual Studio 2008 at my office.
I'm using Visual Studio 2008 and discovered the shelve/unshelve function for me and became
I'm developing in Visual Studio 2005, using TFS as the source control. Whenever I
We are currently using Visual Studio 2010 Premium with TFS 2010. Every developer that

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.