MSBuild Trickery

MSBuild Trickery
Author :
Publisher :
Total Pages : 428
Release :
ISBN-10 : 061550907X
ISBN-13 : 9780615509075
Rating : 4/5 (075 Downloads)

Book Synopsis MSBuild Trickery by : Brian Kretzler

Download or read book MSBuild Trickery written by Brian Kretzler and published by . This book was released on 2011-08-01 with total page 428 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.


MSBuild Trickery Related Books

MSBuild Trickery
Language: en
Pages: 428
Authors: Brian Kretzler
Categories: Computers
Type: BOOK - Published: 2011-08-01 - Publisher:

GET EBOOK

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 expressiv
Inside the Microsoft Build Engine
Language: en
Pages: 862
Authors: Sayed Hashimi
Categories: Computers
Type: BOOK - Published: 2010-12-24 - Publisher: Pearson Education

GET EBOOK

As software complexity increases, proper build practices become ever more important. This essential reference—fully updated for Visual Studio 2010—drills in
Supplement to Inside the Microsoft Build Engine
Language: en
Pages: 189
Authors: Sayed Hashimi
Categories: Computers
Type: BOOK - Published: 2013-04-15 - Publisher: Pearson Education

GET EBOOK

Get the supplement that helps you drill even further into MSBuild—and maximize your control over the software build and deployment process. Designed as a comp
C# 7.0 in a Nutshell
Language: en
Pages: 1090
Authors: Joseph Albahari
Categories: Computers
Type: BOOK - Published: 2017-10-11 - Publisher: "O'Reilly Media, Inc."

GET EBOOK

When you have questions about C# 7.0 or the .NET CLR and its core Framework assemblies, this bestselling guide has the answers you need. Since its debut in 2000
.NET Internationalization
Language: en
Pages: 951
Authors: Guy Smith-Ferrier
Categories: Computers
Type: BOOK - Published: 2006-08-07 - Publisher: Pearson Education

GET EBOOK

As business becomes more and more global, software developers increasingly need to make applications multi-lingual and culturally aware. The .NET Framework may