Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Introduction to MSBuild – Quick Intro Guide

msbuild-introduction

msbuild-introduction

Introduction to MSBuild

  • Microsoft supported build engine
  • XML-based configuration file
  • Intellisense available from Visual Studio using supplied schema
  • Ships with .NET Framework 2.0, it is NOT part of Team Foundation Server
  • Both Visual Studio and Team Foundation Server leverage MSBuild
  • Command-line utility – MSBuild.exe

MSBuild Concepts

  1. Project
  2. Property
  3. Item
  4. Target
  5. Task

Projects

–        The root concept in MSBuild

–        Defines the build process

Example:


    Build

Properties

–        Name/value pairs

Items

–        Set of objects (commonly files)

–        Can specify meta-data to be applied to the objects

Example:






Targets

–        Defines a number of sequential tasks

–        Projects can have initial and/or default targets

Example:





Tasks

–        Performs an operation

–        Uses properties and items

–        Extensible

Exmaple:


    <MakeDir
        Directories="$(BuildDir)" />

Some Reference Link:

http://msdn.microsoft.com/en-us/library/ms171452%28VS.90%29.aspx

http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx

http://www.codeproject.com/KB/aspnet/Automate_Builds.aspx

http://www.codeproject.com/KB/aspnet/Automate_Builds.aspx

http://en.wikipedia.org/wiki/MSBuild

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x