Tuesday, July 25, 2006

Recently a chapter from my book Deploying .NET Applications: Learning MSBuild and ClickOnce has been posted. You can read the sample chapter MSBuild By Example. Here is the TOC for that chapter.

MSBuild: By Example

Introducing Well-Known Metadata

Formatting Your Output

Editing MSBuild Files with IntelliSense

Integrating MSBuild into Visual Studio

Introducing Custom Metadata

Understanding the Difference Between @ and %

Using Environment Variables in Your Project

Reusing MSBuild Project Elements

Dealing with MSBuild Errors

Summary

Thanks to the guys at Apress and C# Online for making this chapter available online for everyone to have a look at!

Sayed Ibrahim Hashimi 

 

 

Tuesday, July 25, 2006 5:31:32 AM (GMT Daylight Time, UTC+01:00)  #    Comments [1]  | 
Thursday, April 12, 2007 12:29:14 AM (GMT Daylight Time, UTC+01:00)
Sayed,

Thanks for the chapter!

I have a question for you though, regarding reusing project elements.

I am using a web deployment project, and there are some properties set before the web deployment build targets are called. What I am trying to do is before the build targets are called, I want to fill these properties from a custom configuration file. I'm able to get these properties into another set of properties, but am unable to get them into the web deployment project properties. They keep getting overwritten by the MS target file properties. I can send you what I have, it's VERY ugly, but I am also using your procedure to build a solution, which works well, except I need to figure out how to order the projects for building.

Thanks for you help!

-John Baughman
John Baughman
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, strike, strong, sub) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview

Theme design by Jelle Druyts