Inside the Microsoft® Build Engine

As software complexity increases, proper build practices become ever more important. This essential reference drills inside MSBuild-and shows how to maximize your control over the build and deployment process. Learn how to customize and extend build processes with MSBuild-and scale them to the team,...

Descripción completa

Detalles Bibliográficos
Autor principal: Hashimi, Sayed Ibrahim (-)
Otros Autores: Bartholomew, William
Formato: Libro electrónico
Idioma:Inglés
Publicado: Sebastopol : O'Reilly Media, Inc 2009.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627658006719
Tabla de Contenidos:
  • Cover; Copyright page; Dedication; Contents at a Glance; Table of Contents; Foreword; Acknowledgements; Sayed Ibrahim Hashimi; William Bartholomew; Introduction; Who Is This Book For?; Organization of This Book; System Requirements; Technology Updates; The Companion Web Site; Support for This Book; Part I: Overview; Chapter 1: MSBuild Quick Start; Project File Details; Properties and Targets; Items; Item Metadata; Simple Conditions; Default/Initial Targets; MSBuild.exe Command Line Usage; Extending the Build Process; Chapter 2: MSBuild Deep Dive, Part 1; Properties; Environment Variables
  • Reserved PropertiesCommand Line Properties; Dynamic Properties; Items; Copy Task; Well-Known Item Metadata; Custom Metadata; Item Transformations; Chapter 3: MSBuild Deep Dive, Part 2; Dynamic Properties and Items; Dynamic Properties and Items: MSBuild 3.5; Dynamic Properties and Items: MSBuild 2.0; Property and Item Evaluation; Importing Files; Extending the Build Process; Part II: Customizing MSBuild; Chapter 4: Custom Tasks; Custom Task Requirements; Creating Your First Task; Task Input/Output; Supported Task Input and Output Types; Using Arrays with Task Inputs and Outputs
  • Extending ToolTaskToolTask Methods; ToolTask Properties; Debugging Tasks; Chapter 5: Custom Loggers; Overview; Console Logger; File Logger; ILogger Interface; Creating Custom Loggers; Extending the Logger Abstract Class; Extending Existing Loggers; FileLoggerBase and XmlLogger; Debugging Loggers; Part III: Advanced MSBuild Topics; Chapter 6: Batching and Incremental Builds; Batching Overview; Task Batching; Target Batching; Combining Task and Target Batching; Multi-batching; Using Batching to Build Multiple Configurations; Batching Using Multiple Expressions; Batching Using Shared Metadata
  • Incremental BuildingPartially Building Targets; Chapter 7: External Tools; Exec Task; MSBuild Task; MSBuild and Visual Studio Known Error Message Formats; Creating Reusable Build Elements; NUnit; FxCop; Part IV: MSBuild Cookbook; Chapter 8: Practical Applications, Part 1; Setting the Assembly Version; Building Multiple Projects; Attaching Multiple File Loggers; Creating a Logger Macro; Custom Before/After Build Steps in the Build Lab; Handling Errors; Replacing Values in Config Files; Extending the Clean; Chapter 9: Practical Applications, Part 2; Starting and Stopping Services
  • Web Deployment Project OverviewZipping Output Files, Then Uploading to an Ftp Site; Compressing JavaScript Files; Encrypting web.config; Building Dependent Projects; Extending the Clean Process; Deployment Using Web Deployment Projects; Part V: Team Foundation Build; Chapter 10: Team Build Quick Start; Introduction to Team Build; Team Build Features; High-Level Architecture; Preparing for Team Build; Build Agents; What Makes a Good Build Agent?; Setting Up a Build Agent; Drop Folder; Creating a Build Definition; General; Workspace; Project File; Retention Policy; Build Defaults; Trigger
  • Working with Build Queues and History