Skip to content

Msbuild Trickery: 99 Ways to Bend the Build Engine to Your Will
Stock Photo: Cover May Be Different

Msbuild Trickery: 99 Ways to Bend the Build Engine to Your Will Paperback - 2011

by Foreword by Dan Moseley; Brian Kretzler


From the publisher

MSBuild is more than just a list of source files; it is a declarative programming language, and with the new features in the .Net 4.0 engine, a rather expressive language to boot.

This book explores the Microsoft Build Engine used by C#, VB.Net, F# and C++ projects-the 4.0 version shipped with Visual Studio 2010-in depth and in a very practical way, full of examples not covered in the reference material (or in the other book on MSBuild).

Inside you'll find:

  • How to unify all your projects
  • How to add help to your build
  • How to simulate loops and data joins
  • How to use inline C# code in project files
  • How to enhance logging

...and over 90 additional tips and tricks, and including some extensive walkthroughs of more advanced topics, like dealing with huge projects and rolling your own tool integrations right in the IDE. You can further explore the content with code samples on the Web.

So if you've ever found yourself wondering how to get MSBuild to...

  • Perform some simple arithmetic, or a string replacement (see trick #9)
  • Find a subset of files using a complex expression (see trick #11)
  • Specify the folder where MSBuild.exe resides (see trick #6)
  • Fail the build when your custom task shows an error but the build still succeeds (see trick #2)
  • Get you a list of all the referenced assemblies in your project (see trick #72)
  • Get Visual Studio to stop ignoring your customizations (see trick #82)
  • Search for your customizations, without having to hardcode paths (see trick #16)
  • Allow almost any property to be tweaked (see trick #45)
  • Do something that seems too complex for AfterBuild (see trick #23)
  • Extract the branch name from a path (see trick #99)

And don't be put off if you're brand new to MSBuild. If you've ever so much as peeked at the XML in a C# project file, you'll be well served by this book. You'll start from first principals and the most basic mechanisms of MSBuild and the structure of an MSBuild file will be explained. Each trick is small and digestible and presented in a way that you can try out new techniques with just a few lines of MSBuild in a text file. Most of the tricks are things you can copy directly into your own build files and use that day. While many of the tricks stand on their own, the more complex ones are broken down and presented in sequences that progressively build on one another.

You won't need any other book on MSBuild! But if you happen to have the other one, MSBuild Trickery will take you far beyond a reference book, providing practical guidance and preparing you for all of those truly unique gotchas that appear when the build runs.

With a foreword by Dan Moseley, Microsoft Senior Development Lead for Visual Studio Project & Build.

Details

  • Title Msbuild Trickery: 99 Ways to Bend the Build Engine to Your Will
  • Author Foreword by Dan Moseley; Brian Kretzler
  • Binding Paperback
  • Pages 428
  • Volumes 1
  • Language ENG
  • Publisher K Cross Seven Ranch Company
  • Date 2011-08-05
  • ISBN 9780615509075 / 061550907X
  • Weight 1.31 lbs (0.59 kg)
  • Dimensions 9.21 x 6.14 x 0.87 in (23.39 x 15.60 x 2.21 cm)
Back to Top

More Copies for Sale

MSBuild Trickery: 99 Ways to Bend the Build Engine to Your Will
Stock Photo: Cover May Be Different

MSBuild Trickery: 99 Ways to Bend the Build Engine to Your Will

by Kretzler, Brian

  • Used
  • Paperback
Condition
Used: Good
Binding
Paperback
ISBN 13
9780615509075
ISBN 10
061550907X
Quantity Available
1
Seller
HOUSTON, Texas, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
$31.05
FREE shipping to USA

Show Details

Description:
K Cross Seven Ranch Company, 2011-08-05. paperback. Used: Good.
Item Price
$31.05
FREE shipping to USA
MSBuild Trickery: 99 Ways to Bend the Build Engine to Your Will
Stock Photo: Cover May Be Different

MSBuild Trickery: 99 Ways to Bend the Build Engine to Your Will

by Kretzler, Brian; Moseley, Dan [Foreword]

  • New
  • Paperback
Condition
New
Binding
Paperback
ISBN 13
9780615509075
ISBN 10
061550907X
Quantity Available
5
Seller
campbelltown, Florida, United States
Seller rating:
This seller has earned a 1 of 5 Stars rating from Biblio customers.
Item Price
$53.00
$15.00 shipping to USA

Show Details

Description:
K Cross Seven Ranch Company. paperback. New. 6x0x9. Brand New Book in Publishers original Sealing
Item Price
$53.00
$15.00 shipping to USA
Msbuild Trickery: 99 Ways to Bend the Build Engine to Your Will

Msbuild Trickery: 99 Ways to Bend the Build Engine to Your Will

by Brian Kretzler

  • New
  • Paperback
Condition
New
Binding
Paperback
ISBN 13
9780615509075
ISBN 10
061550907x
Quantity Available
10
Seller
Southport, Merseyside, United Kingdom
Seller rating:
This seller has earned a 5 of 5 Stars rating from Biblio customers.
Item Price
$70.75
$12.71 shipping to USA

Show Details

Description:
Paperback. New.
Item Price
$70.75
$12.71 shipping to USA
MSBuild Trickery: 99 Ways to Bend the Build Engine to Your Will
Stock Photo: Cover May Be Different

MSBuild Trickery: 99 Ways to Bend the Build Engine to Your Will

by Kretzler, Brian

  • Used
  • Paperback
Condition
Used:Good
Binding
Paperback
ISBN 13
9780615509075
ISBN 10
061550907X
Quantity Available
1
Seller
HOUSTON, Texas, United States
Seller rating:
This seller has earned a 4 of 5 Stars rating from Biblio customers.
Item Price
$61.51
FREE shipping to USA

Show Details

Description:
K Cross Seven Ranch Company, 2011-08-05. paperback. Used:Good.
Item Price
$61.51
FREE shipping to USA