automate the build process

Last post 07-16-2008 4:43 AM by sanggu.tae. 3 replies.

Sort Posts:

  • automate the build process

    11-27-2007, 3:48 PM
    • Loading...
    • chirpygal
    • Joined on 10-11-2007, 9:26 PM
    • Posts 45

    I want to develop a tool that will automatically do a build of the a project in Visual Studio,everynight ,at a specified time. Is there a way i can achieve this?

    Thanks,

    Chirpy

  • Re: automate the build process

    11-27-2007, 4:08 PM
    Answer

    Use msbuild: http://msdn2.microsoft.com/en-us/library/ms164311.aspx

    Or have a look at team city or cruise control, which are continous integration products that do just that (well they do a lot more than that too, such as fetching the latest version of your code from source control, running unit tests etc.)

    http://www.jetbrains.com/teamcity/

    http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET

    Hope it helps

  • Re: automate the build process

    11-27-2007, 4:11 PM
    Answer
    • Loading...
    • jimmy q
    • Joined on 11-02-2006, 5:01 AM
    • Australia
    • Posts 2,488
    • Moderator

    chirpygal:
    I want to develop a tool that will automatically do a build of the a project in Visual Studio,everynight ,at a specified time. Is there a way i can achieve this?
     

    You can create a batch file .bat that uses command line to do all this.

    e.g.

    1 using command line to get latest from VSS or any other source code repository to a clean location

    2 build the solution in release mode using command line again, VS has the devenv.exe file that you can execute in command line

    3. you can then create a windows scheduled task to run at a certain time
     

     

  • Re: automate the build process

    07-16-2008, 4:43 AM
    • Loading...
    • sanggu.tae
    • Joined on 07-16-2008, 4:15 AM
    • Posts 3

    Hi.

     I think you had better using CCNET.

     It is able to use automatic from compile to deploy only one click (server to copy).

    source sync(p4, source control)  --> compile --> nunit --> fxcop --> deploy(network copy) 

    If you have any question(ccnet.config setting)  let me know.

     Thank you.

    Hostway - South Korea
    ---------------
    If you get the answer to your question, please mark it as the answer.
Page 1 of 1 (4 items)
Microsoft Communities
Page view counter