Buy on Amazon
https://www.ebooknetworking.net/books_detail-061550907X.html
MSBuild Trickery: 99 Ways to Bend the Build Engine to Your Will
Book Details
Author(s)Brian Kretzler
PublisherK Cross Seven Ranch Company
ISBN / ASIN061550907X
ISBN-139780615509075
AvailabilityUsually ships in 24 hours
Sales Rank719,189
CategoryComputers
MarketplaceUnited States 🇺🇸
Description
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:
So if you've ever found yourself wondering how to get MSBuild to...
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.
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
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)
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.









