Build an sln file via ANT

Posted on 2007-10-18
Last Modified: 2013-11-26

How do I build a SLN file via ANT?
Question by:scully9999
    LVL 3

    Expert Comment

    You could use nant's solution task to build VS 2003 solution files Otherwise use nant/ant's exec task to build the solution file using the executable with the exec task.

    For help on how to use the from command line, check out the help from "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\" --help. Make necessary changes depending on where you installed Visual Studio.
    LVL 3

    Accepted Solution

    Addition to last comment:

    Example of ant task:

    <target name="build">
       <exec executable="">
            <arg line="solutionfile.sln /build solutionconfig"/>

    For details of what arguments to provide, check out the help from command line by running --help as mentioned in the last post.

    Author Comment

    thanks that was exactly what i was looking for

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Let’s list some of the technologies that enable smooth teleworking. 
    The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
    The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
    The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now