CruiseControl.Net: Build .SLN files with projects that have project references (not dll references) of other projects within the same solution

Posted on 2009-12-16
Last Modified: 2013-11-10

I am currently in the process of setting up Cruise Control.Net for the projects in my company. I am inclined towards using MSBUILD tasks for my .sln builds. I have some doubts/questions regarding the implementation.

I have a master solution file that contains all the projects. Each of these projects has 'project references' set to other projects within the same solution. for e.g:

Project A (independent)
Project B (depends on Project A and has a Project Reference to Proj A)
Project C (depends on Project B and Project A and has project refernce to both projects)
and so on.

My first question is pretty straight forward (and pardon my ignorance since i am a noob in this field):

Can this setup work? Can i have CCNet build my projects that have other projects set as project refernces?

The other question is:

What is the most recommended setup in such a scenario?

Here is what I had in mind:

a) Each project (which can be built independently) will have its own solution file which will have that project and all the projects it depends on. For e.g.:
To build project C independently, a solution would be created that would contain Project A,B and C. Project C will have project references set for project A and B

b) For the master build, everything would be a part of the same solution with various .csprojs having project references set to other projects.

Please advise.
Question by:psychedelicNerd
    1 Comment

    Accepted Solution

    I have the answer, The setup works. However, please feel free to suggest any other approaches.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
    Let’s list some of the technologies that enable smooth teleworking. 
    The viewer will learn how to back up with the free utility from runtime software, DriveImageXML using Windows 8. Download DriveImageXML from Open folder where it was saved: Start installation by double clicking the install scrip…
    Video by: Kyle
    After watching the Introduction to GIMP and additional tools to use in GIMP we are shown how to utilize multiple tools to create a 3D effect image.

    737 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