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 

 

 

7/25/2006 12:31:32 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [1]  | 
4/11/2007 7:29:14 PM (Eastern Daylight Time, UTC-04: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
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Theme design by Jelle Druyts