473,386 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Is MSbuild appropriate for automated builds of a large code base?

I've got a source tree with over 100 projects, some depending on others and
I'd like to set this up on an automated nightly build, or where devs can do
private builds of the entire source tree to verify their code integration
into the build before they check in.
When I worked at Microsoft, we used CoreXt to do this. Does MSBuild support
this sort of build management? Or should I look elsewhere like NAnt.

--
Jaan
Aug 3 '06 #1
3 2268
jrett <jr***@discussions.microsoft.comwrote:
I've got a source tree with over 100 projects, some depending on others and
I'd like to set this up on an automated nightly build, or where devs can do
private builds of the entire source tree to verify their code integration
into the build before they check in.
When I worked at Microsoft, we used CoreXt to do this. Does MSBuild support
this sort of build management? Or should I look elsewhere like NAnt.
It can work like that, yes. MSBuild is a task in itself, so it can
recurse; and as we all know, recursion is divine etc. etc. for solving
the big problems.

I prefer MSBuild's approach to Ant - with Ant, one must write the rules
to infer the output files, whereas with MSBuild one can create inference
rules through pattern matching etc.

It's still not quite as flexible as GNU Make 3.80 + Cygwin out of the
box, though.

However, the fact that VS solutions and projects are automatically
understood by MSBuild goes a long way towards automating much drudgery,
so I'm pretty happy.

-- Barry

--
http://barrkel.blogspot.com/
Aug 3 '06 #2
Thanks for the reply. That is a good answer. I do still have another road
block. All our code is in .NET 1.1. When should I expect a version MSBuild
to come out that doesn't require a patch or a hack to get it to build .NET
1.1 or any other code types like C/C++. The MSBee feels like a hack.
--
Jaan
"Barry Kelly" wrote:
jrett <jr***@discussions.microsoft.comwrote:
I've got a source tree with over 100 projects, some depending on others and
I'd like to set this up on an automated nightly build, or where devs can do
private builds of the entire source tree to verify their code integration
into the build before they check in.
When I worked at Microsoft, we used CoreXt to do this. Does MSBuild support
this sort of build management? Or should I look elsewhere like NAnt.

It can work like that, yes. MSBuild is a task in itself, so it can
recurse; and as we all know, recursion is divine etc. etc. for solving
the big problems.

I prefer MSBuild's approach to Ant - with Ant, one must write the rules
to infer the output files, whereas with MSBuild one can create inference
rules through pattern matching etc.

It's still not quite as flexible as GNU Make 3.80 + Cygwin out of the
box, though.

However, the fact that VS solutions and projects are automatically
understood by MSBuild goes a long way towards automating much drudgery,
so I'm pretty happy.

-- Barry

--
http://barrkel.blogspot.com/
Aug 3 '06 #3
When using msbuild in this recursive manner, can the build order be
controlled such the dependencies get build in the correct order?
What is the best practice for automated building of a large number of
projects. Is it recommended that they all be put into a 'solution' file or
should they be processed in this recursive manner?

Thanks for your previous reply.
--
Jaan
"Barry Kelly" wrote:
jrett <jr***@discussions.microsoft.comwrote:
I've got a source tree with over 100 projects, some depending on others and
I'd like to set this up on an automated nightly build, or where devs can do
private builds of the entire source tree to verify their code integration
into the build before they check in.
When I worked at Microsoft, we used CoreXt to do this. Does MSBuild support
this sort of build management? Or should I look elsewhere like NAnt.

It can work like that, yes. MSBuild is a task in itself, so it can
recurse; and as we all know, recursion is divine etc. etc. for solving
the big problems.

I prefer MSBuild's approach to Ant - with Ant, one must write the rules
to infer the output files, whereas with MSBuild one can create inference
rules through pattern matching etc.

It's still not quite as flexible as GNU Make 3.80 + Cygwin out of the
box, though.

However, the fact that VS solutions and projects are automatically
understood by MSBuild goes a long way towards automating much drudgery,
so I'm pretty happy.

-- Barry

--
http://barrkel.blogspot.com/
Aug 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Takeshi | last post by:
Hi All, I'm new to dotNET. I am (thinking of) building the presentation layer of my application in dotNET. Communication with the backend will be done by subject based (multicast) messaging -...
1
by: Rhett | last post by:
Hello,EveryBody! I'm troubled by a design problem, Hoping that you'll save me out! The Situation is: We have two project of code A and B.A is our reusable code base, B is for specified for...
1
by: santa19992000 | last post by:
Can I give C++ code base from CVS to Doxygen for web interface?
0
by: jOs | last post by:
C#B - SHARED SOURCE PROJECT FOR A C# Browser Let's sort this stuff out once and for ALL. =============================================================== Anyone who's having problems in...
6
by: D Sheldon | last post by:
I have created a method that accepts a string value (representing the name of a textbox) and then returns the value. Because the name of the textbox can change, I first build a string with the...
3
by: =?Utf-8?B?UXVpbWJseQ==?= | last post by:
I'm trying to find some good resources on how to script a VS build. Our solution is fairly large, and includes a WinForm app, web services, a couple of websites, etc. I'm trying to find a way to...
5
by: Raman | last post by:
Hi All, We have an old code base which (unfortunatelty) has some C files that include other C files:e.g File.c ===== #include<stdio.h> .. void someFunc(){
3
by: 17feb79 | last post by:
How can I have a single code base (Product.sln) and multiple products (PROD1-Website A & PROD2-Website B)? I am using WIXgen tool for MSI Packaging. And my IDE is ASP.net 2008, C#. My pages will...
0
by: sandeepsangshetty | last post by:
Hi Friends, I need your great help in developing a new Asp.net project. I have 3 websites Site1,Site2,Site3 running on their own Code base's & Databse's. All are Job portals having 3 roles...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.