How will you build using MS Build command line ?

Wednesday, September 2, 2009


MSBuild.exe TestProj.proj /property:Configuration=Debug


www.codecollege.NET

What are Targets in MS Build?


They are used to group Tasks.


www.codecollege.NET

What are Tasks in MS Build?


Tasks are reusable units of executable code used by MSBuild projects to perform build operations. They are declared inside the Target element.


www.codecollege.NET

How will you refer properties in a project file?


$(PropertyName).


www.codecollege.NET

How will you refer item collections in a project file?


@(ItemCollectionName).


www.codecollege.NET

Give an example for PropertyGroup



ABC



www.codecollege.NET

What are Properties in MS Build?


They are key/value pairs which are used to configure the build. They are created by declaring a property element inside PropertyGroup element.


www.codecollege.NET
Blog Widget by LinkWithin