<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Msbuild Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/category/msbuild/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/category/msbuild/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 27 Feb 2021 09:54:21 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Introduction of MSbuild</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-of-msbuild/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-of-msbuild/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 08 Jan 2018 11:08:58 +0000</pubDate>
				<category><![CDATA[Msbuild]]></category>
		<category><![CDATA[MSBuild]]></category>
		<category><![CDATA[MSbuild Definition]]></category>
		<category><![CDATA[MSbuild Introduction]]></category>
		<category><![CDATA[MSBuild Overview]]></category>
		<category><![CDATA[What is MSBuild]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4516</guid>

					<description><![CDATA[<p>By Rambabu Muppuri 2810 days ago Comments (3) can u pl help me anyone introduction of msbuild? Hi Guys, can u pl help [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-of-msbuild/">Introduction of MSbuild</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="elgg-listing-full elgg-content clearfix" data-guid="2847">
<div class="elgg-image-block clearfix elgg-listing-full-header">
<div class="elgg-body">
<div class="elgg-listing-summary-subtitle elgg-subtext">By <a href="http://community.scmgalaxy.com/blog/owner/rambabu1683">Rambabu Muppuri</a> <time title="29 April 2010 @ 10:14pm" datetime="2010-04-29T22:14:51-07:00">2810 days ago</time> <a href="http://community.scmgalaxy.com/blog/view/2847/introduction-of-msbuild#comments">Comments (3)</a></div>
<div class="clearfix">
<ul class="elgg-tags">
<li></li>
<li class="elgg-tag"><a href="http://community.scmgalaxy.com/search?q=can+u+pl+help+me+anyone+introduction+of+msbuild%3F&amp;search_type=tags" rel="tag">can u pl help me anyone introduction of msbuild?</a></li>
</ul>
</div>
</div>
</div>
<div class="elgg-output blog-post">
<p>Hi Guys,</p>
<p>can u pl help me anyone Introduction of MSbuild?</p>
<p>Regards,</p>
<p>Rambabu.M</p>
</div>
</div>
<div id="comments" class="elgg-comments blog-comments">
<ul class="elgg-list elgg-list-entity">
<li id="elgg-object-43130" class="elgg-item elgg-item-object elgg-item-object-comment">
<div class="elgg-image-block clearfix">
<div class="elgg-image">
<div class="elgg-avatar elgg-avatar-tiny"><a class="" href="http://community.scmgalaxy.com/profile/rajeshkumar"><img decoding="async" class="" title="Rajesh Kumar" src="http://community.scmgalaxy.com/serve-file/e0/l1481295947/di/c0/DvX3nSE-uqKjjX5cKaVIDgy-EEgV_Q5LK1iM9vbQUL0/1/84/profile/84tiny.jpg" alt="Rajesh Kumar" /></a></div>
</div>
<div class="elgg-body"><a name="comment-43130"></a></p>
<div class="mbn"><a href="http://community.scmgalaxy.com/profile/rajeshkumar">Rajesh Kumar</a> <span class="elgg-subtext"><a href="http://community.scmgalaxy.com/comment/view/43130/2847"><time title="3 May 2010 @ 12:10am" datetime="2010-05-03T00:10:01-07:00">2807 days ago</time></a></span></p>
<div class="elgg-output elgg-inner" data-role="comment-text">
<div>MSBuild Overview</div>
<div>
<p>The Microsoft Build Engine (MSBuild) is the new build platform for Microsoft and Visual Studio. MSBuild is completely transparent with regards to how it processes and builds software, enabling developers to orchestrate and build products in build lab environments where Visual Studio is not installed. This topic provides brief overviews of:</p>
<ul>
<li>The basic elements of an MSBuild project file.</li>
<li>How MSBuild is used to build projects.</li>
<li>The advanced features of MSBuild.</li>
<li>How Visual Studio uses MSBuild to build projects.</li>
</ul>
</div>
<div>
<div>
<p>Project File</p>
<div>
<hr />
</div>
</div>
<p>MSBuild introduces a new XML-based project file format that is simple to understand, easy to extend, and fully supported by Microsoft. The MSBuild project file format enables developers to fully describe what items need to be built as well as how they need to be built with different platforms and configurations. In addition, the project file format enables developers to author re-usable build rules that can be factored into separate files so that builds can be performed consistently across different projects within their product. The following sections describe some of the basic elements of the MSBuild project file format.</p>
<h3>Items</h3>
<div>
<p>Items represent inputs into the build system and are grouped into item collections based on their user-defined collection names. These item collections can be used as parameters for tasks, which use the individual items contained in the collection to perform the steps of the build process.</p>
<p>Items are declared in the project file by creating an element with the name of the item collection as a child of an <strong>ItemGroup</strong>element. For example, the following code creates an item collection named Compile, which includes two files.</p>
<div>
<p><a id="CodeSpippet0" name="CodeSpippet0"></a></p>
<div>
<div>
<div><a title="Copy to clipboard.">Copy</a></div>
</div>
<div id="CodeSnippetContainerCode0">
<div>
<pre>&lt;ItemGroup&gt;
    &lt;Compile Include = "file1.cs"/&gt;
    &lt;Compile Include = "file2.cs"/&gt;
&lt;/ItemGroup&gt;

</pre>
</div>
</div>
</div>
</div>
<p>You reference item collections throughout the project file with the syntax @(ItemCollectionName). For example, you reference the item collection in the example above with @(Compile).</p>
<p>Items can be declared using wildcards and may contain additional metadata for more advanced build scenarios. For more information on items, see <a href="http://msdn.microsoft.com/en-us/library/ms171453%28v=VS.90%29.aspx">MSBuild Items</a>.</p>
</div>
<h3>Properties</h3>
<div>
<p>Properties represent key/value pairs that can be used to configure builds. Items and properties differ in the following ways:</p>
<ul>
<li>Items are stored in collections, while properties contain a single scalar value.</li>
<li>Items cannot be removed from item collections, while properties can have their values changed after they are defined.</li>
<li>Items can contain metadata and can use the %(ItemMetadata) notation, while properties cannot.</li>
</ul>
<p>Properties are declared by creating an element with the name of the property as a child of a <strong>PropertyGroup</strong> element. For example, the following code creates a property named BuildDir with a value of Build.</p>
<div>
<p><a id="CodeSpippet1" name="CodeSpippet1"></a></p>
<div>
<div>
<div><a title="Copy to clipboard.">Copy</a></div>
</div>
<div id="CodeSnippetContainerCode1">
<div>
<pre>&lt;PropertyGroup&gt;
    &lt;BuildDir&gt;Build&lt;/BuildDir&gt;
&lt;/PropertyGroup&gt;

</pre>
</div>
</div>
</div>
</div>
<p>You reference properties throughout the project file with the syntax $(PropertyName). For example, you reference the property in the example above with $(BuildDir). For more information on properties, see <a href="http://msdn.microsoft.com/en-us/library/ms171458%28v=VS.90%29.aspx">MSBuild Properties</a>.</p>
</div>
<h3>Tasks</h3>
<div>
<p>Tasks are reusable units of executable code used by MSBuild projects to perform build operations. For example, a task might compile input files or run an external tool. Once created, tasks can be shared and reused by different developers in different projects.</p>
<p>The execution logic of a task is written in managed code and mapped to MSBuild with the <a href="http://msdn.microsoft.com/en-us/library/t41tzex2%28v=VS.90%29.aspx">UsingTask</a> element. You can write your own task by authoring a managed type that implements the <a href="http://msdn.microsoft.com/en-us/library/microsoft.build.framework.itask%28v=VS.90%29.aspx">ITask</a> interface. For more information on writing tasks, see <a href="http://msdn.microsoft.com/en-us/library/t9883dzc%28v=VS.90%29.aspx">How to: Write a Task</a>.</p>
<p>MSBuild ships with many common tasks such as <a href="http://msdn.microsoft.com/en-us/library/3e54c37h%28v=VS.90%29.aspx">Copy</a>, which copies files, <a href="http://msdn.microsoft.com/en-us/library/s2448zz7%28v=VS.90%29.aspx">MakeDir</a>, which creates directories, and <a href="http://msdn.microsoft.com/en-us/library/s5c8athz%28v=VS.90%29.aspx">Csc</a>, which compiles Visual C# source code files. For a complete list of available tasks and usage information, see <a href="http://msdn.microsoft.com/en-us/library/7z253716%28v=VS.90%29.aspx">MSBuild Task Reference</a>.</p>
<p>You execute a task in an MSBuild project file by creating an element with the name of the task as a child of a <strong>Target</strong>element. Tasks usually accept parameters, which are passed as attributes of the element. MSBuild item collections and properties can be used as parameters. For example, the following code calls the <strong>MakeDir</strong> task and passes it the value of the BuildDir property declared in the previous example.</p>
<div>
<p><a id="CodeSpippet2" name="CodeSpippet2"></a></p>
<div>
<div>
<div><a title="Copy to clipboard.">Copy</a></div>
</div>
<div id="CodeSnippetContainerCode2">
<div>
<pre>&lt;Target Name="MakeBuildDirectory"&gt;
    &lt;MakeDir
        Directories="$(BuildDir)" /&gt;
&lt;/Target&gt;

</pre>
</div>
</div>
</div>
</div>
<p>For more information on tasks, see <a href="http://msdn.microsoft.com/en-us/library/ms171466%28v=VS.90%29.aspx">MSBuild Tasks</a>.</p>
</div>
<h3>Targets</h3>
<div>
<p>Targets group tasks together in a particular order and expose sections of the project file as entry points into the build process. Targets are often grouped into logical sections to allow for expansion and increase readability. Breaking the build steps into many targets allows you to call one piece of the build process from other targets without having to copy that section of code into each target. For example, if several entry points into the build process require references to be built, you can create a target that builds references and run that target from every necessary entry point.</p>
<p>Targets are declared in the project file with the <strong>Target</strong> element. For example, the following code creates a target named Compile, which then calls the <strong>Csc</strong> task with the item collection declared in the previous example.</p>
<div>
<p><a id="CodeSpippet3" name="CodeSpippet3"></a></p>
<div>
<div>
<div><a title="Copy to clipboard.">Copy</a></div>
</div>
<div id="CodeSnippetContainerCode3">
<div>
<pre>&lt;Target Name="Compile"&gt;
    &lt;Csc Sources="@(Compile)" /&gt;
&lt;/Target&gt;

</pre>
</div>
</div>
</div>
</div>
<p>In more advanced scenarios targets can describe relationships between each other and perform dependency analysis, which allows whole sections of the build process to be skipped if that target is up-to-date. For more information on targets, see <a href="http://msdn.microsoft.com/en-us/library/ms171462%28v=VS.90%29.aspx">MSBuild Targets</a>.</p>
</div>
</div>
<div>
<div>
<p>Building with MSBuild</p>
<div>
<hr />
</div>
</div>
<p>You run MSBuild from the command line by passing a project file to MSBuild.exe with the appropriate command line options. Command line options allow you to set properties, execute specific targets, and specify loggers. For example, you would use the following command line syntax to build the file MyProj.proj with the Configuration property set to Debug.</p>
<div>
<p><a id="CodeSpippet4" name="CodeSpippet4"></a></p>
<div>
<div>
<div><a title="Copy to clipboard.">Copy</a></div>
</div>
<div id="CodeSnippetContainerCode4">
<div>
<pre>MSBuild.exe MyProj.proj /property:Configuration=Debug

</pre>
</div>
</div>
</div>
</div>
<p>For more information on MSBuild command line options, see <a href="http://msdn.microsoft.com/en-us/library/ms164311%28v=VS.90%29.aspx">MSBuild Command Line Reference</a>.</p>
<div>
<table border="0">
<tbody>
<tr>
<th><img decoding="async" title="Security note" src="http://i.msdn.microsoft.com/Hash/030c41d9079671d09a62d8e2c1db6973.gif" alt="Security note" /><strong>Security Note:</strong></th>
</tr>
<tr>
<td>Before you build a downloaded project, determine the trustworthiness of the code. MSBuild project files have the ability to execute tasks that can damage your system.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div>
<p>Advanced concepts</p>
<div>
<hr />
</div>
</div>
<p>MSBuild can be used for more advanced operations during builds, such as logging errors, warnings, and messages to the console or other loggers, performing dependency analysis on targets, and batching tasks and targets on item metadata. For more information on these advanced concepts, see <a href="http://msdn.microsoft.com/en-us/library/ms171469%28v=VS.90%29.aspx">MSBuild Advanced Concepts</a>.</p>
</div>
<div>
<div>
<p>Visual Studio Integration</p>
<div>
<hr />
</div>
</div>
<p>Visual Studio uses the MSBuild project file format to store build information about managed projects. Project settings added and changed through Visual Studio are reflected in the .*proj file that is generated for each project. Visual Studio uses a hosted instance of MSBuild to build managed projects, meaning that a managed project can be built in Visual Studio and from the command line (even without Visual Studio installed), with identical results. For more information on how Visual Studio uses MSBuild, see <a href="http://msdn.microsoft.com/en-us/library/ms171469%28v=VS.90%29.aspx">MSBuild Advanced Concepts</a>.</p>
<p><strong>Source:</strong></p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms171452%28VS.90%29.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms171452%28VS.90%29.aspx</a></p>
<p>&nbsp;</p>
</div>
</div>
</div>
</div>
</div>
</li>
<li id="elgg-object-43129" class="elgg-item elgg-item-object elgg-item-object-comment">
<div class="elgg-image-block clearfix">
<div class="elgg-image">
<div class="elgg-avatar elgg-avatar-tiny"><a class="" href="http://community.scmgalaxy.com/profile/rambabu1683"><img decoding="async" class="" title="Rambabu Muppuri" src="http://community.scmgalaxy.com/cache/1515229017/default/icons/user/defaulttiny.gif" alt="Rambabu Muppuri" /></a></div>
</div>
<div class="elgg-body"><a name="comment-43129"></a></p>
<div class="mbn"><a href="http://community.scmgalaxy.com/profile/rambabu1683">Rambabu Muppuri</a> <span class="elgg-subtext"><a href="http://community.scmgalaxy.com/comment/view/43129/2847"><time title="4 May 2010 @ 3:43am" datetime="2010-05-04T03:43:08-07:00">2806 days ago</time></a></span></p>
<div class="elgg-output elgg-inner" data-role="comment-text">
<p>hi raj , thanks for ur comments ..could u pl let me know how can we increment version numbers through msbuild tool..i have written below xml tag but which is not working ..pl help me..<br />
&lt;Target Name=&#8221;Version&#8221;&gt;if its possible send one exmaple with version numbers increment..</p>
<p>&lt;Message Text=&#8221;Version: $(Major).$(Minor).$(Build).$(Revision)&#8221;/&gt;</p>
<p>&lt;AssemblyInfo CodeLanguage=&#8221;VB&#8221;</p>
<p>OutputFile=&#8221;My Project\AssemblyInfo.vb&#8221;</p>
<p>AssemblyTitle=&#8221;&#8221;</p>
<p>AssemblyDescription=&#8221;&#8221;</p>
<p>AssemblyCompany=&#8221;&#8221;</p>
<p>AssemblyProduct=&#8221;&#8221;</p>
<p>AssemblyCopyright=&#8221;&#8221;</p>
<p>ComVisible=&#8221;false&#8221;</p>
<p>CLSCompliant=&#8221;true&#8221;</p>
<p>Guid=&#8221;d038566a-1937-478a-b5c5-b79c4afb253d&#8221;</p>
<p>AssemblyVersion=&#8221;$(Major).$(Minor).$(Build).$(Revision)&#8221;</p>
<p>AssemblyFileVersion=&#8221;$(Major).$(Minor).$(Build).$(Revision)&#8221;</p>
<p>Condition=&#8221;$(Revision) != &#8216;0&#8217; &#8220;/&gt;<br />
&lt;/Target&gt;</p>
</div>
</div>
</div>
</div>
</li>
<li id="elgg-object-43128" class="elgg-item elgg-item-object elgg-item-object-comment">
<div class="elgg-image-block clearfix">
<div class="elgg-image">
<div class="elgg-avatar elgg-avatar-tiny"><a class="" href="http://community.scmgalaxy.com/profile/rajeshkumar"><img decoding="async" class="" title="Rajesh Kumar" src="http://community.scmgalaxy.com/serve-file/e0/l1481295947/di/c0/DvX3nSE-uqKjjX5cKaVIDgy-EEgV_Q5LK1iM9vbQUL0/1/84/profile/84tiny.jpg" alt="Rajesh Kumar" /></a></div>
</div>
<div class="elgg-body"><a name="comment-43128"></a></p>
<div class="mbn"><a href="http://community.scmgalaxy.com/profile/rajeshkumar">Rajesh Kumar</a> <span class="elgg-subtext"><a href="http://community.scmgalaxy.com/comment/view/43128/2847"><time title="5 May 2010 @ 2:38am" datetime="2010-05-05T02:38:47-07:00">2805 days ago</time></a></span></p>
<div class="elgg-output elgg-inner" data-role="comment-text">
<p>Long time back same thing i did using Apache ant, you can find logic here <a href="http://www.scmgalaxy.com/component/content/article/62-apache-ant/129-ant-script-to-reset-buildnumber.html" rel="nofollow">http://www.scmgalaxy.com/component/content/article/62-apache-ant/129-ant-script-to-reset-buildnumber.html</a></p>
<p>&nbsp;</p>
<p>meanwhile, I will try to create using MSBuild in free time.</p>
</div>
</div>
</div>
</div>
</li>
</ul>
</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-of-msbuild/">Introduction of MSbuild</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-of-msbuild/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>MSBuild Tutorial Reference for Beginner &#124; MSBuild Learning Resources &#124; scmGalaxy</title>
		<link>https://www.scmgalaxy.com/tutorials/msbuild-tutorial-reference-for-beginner/</link>
					<comments>https://www.scmgalaxy.com/tutorials/msbuild-tutorial-reference-for-beginner/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 02 Jul 2016 14:10:40 +0000</pubDate>
				<category><![CDATA[Msbuild]]></category>
		<category><![CDATA[Beginner]]></category>
		<category><![CDATA[Beginner guide MsBuild]]></category>
		<category><![CDATA[MSBuild]]></category>
		<category><![CDATA[MsBuild Beginner Tutorials]]></category>
		<category><![CDATA[MsBuild Guide]]></category>
		<category><![CDATA[MsBuild Learning Materials]]></category>
		<category><![CDATA[MSBuild Learning Resources]]></category>
		<category><![CDATA[MsBuild Resources]]></category>
		<category><![CDATA[MSBuild Tutorial]]></category>
		<category><![CDATA[MSBuild Tutorial Reference]]></category>
		<category><![CDATA[MSBuild Tutorial Resources]]></category>
		<category><![CDATA[Reference]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/07/02/msbuild-tutorial-reference-for-beginner/</guid>

					<description><![CDATA[<p>Walkthrough: Creating an MSBuild Project File from Scratch How to: Write a Simple MSBuild Project MSBuild Basics Build Your Project [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/msbuild-tutorial-reference-for-beginner/">MSBuild Tutorial Reference for Beginner | MSBuild Learning Resources | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><img fetchpriority="high" decoding="async" class="aligncenter wp-image-3182 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/msbuild-tutorial-reference-.png" alt="msbuild-tutorial" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/msbuild-tutorial-reference-.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/msbuild-tutorial-reference--300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></h3>
<h3><a href="https://msdn.microsoft.com/en-us/library/dd576348.aspx">Walkthrough: Creating an MSBuild Project File from Scratch</a></h3>
<h3><a href="https://msdn.microsoft.com/en-us/library/ms171479(v=vs.90).aspx">How to: Write a Simple MSBuild Project</a></h3>
<h3><a href="http://thomasardal.com/msbuild-tutorial/">MSBuild Basics</a></h3>
<h3><a href="http://www.codeproject.com/Tips/997898/Build-Your-Project-File-from-Scratch-using-MSBuild">Build Your Project File from Scratch using MSBuild</a></h3>
<h3></h3>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/msbuild-tutorial-reference-for-beginner/">MSBuild Tutorial Reference for Beginner | MSBuild Learning Resources | scmGalaxy</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/msbuild-tutorial-reference-for-beginner/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Extension used in DOTNET and MSBuild Projects</title>
		<link>https://www.scmgalaxy.com/tutorials/extension-used-in-dotnet-and-msbuild-projects/</link>
					<comments>https://www.scmgalaxy.com/tutorials/extension-used-in-dotnet-and-msbuild-projects/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Sat, 02 Jul 2016 14:08:38 +0000</pubDate>
				<category><![CDATA[Msbuild]]></category>
		<category><![CDATA[DOTNET]]></category>
		<category><![CDATA[DOTNET and MSBuild Projects Extension]]></category>
		<category><![CDATA[DOTNET Extension]]></category>
		<category><![CDATA[Dotnet msbuild]]></category>
		<category><![CDATA[Extension]]></category>
		<category><![CDATA[Extension used in DOTNET Projects]]></category>
		<category><![CDATA[Extension used in msbuild Projects]]></category>
		<category><![CDATA[MSBuild]]></category>
		<category><![CDATA[MSBuild Extension]]></category>
		<category><![CDATA[Projects]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2016/07/02/extension-used-in-dotnet-and-msbuild-projects/</guid>

					<description><![CDATA[<p>.proj A popular convention for generic use. Commonly used by a main build script. Examples: build.proj main.proj company.product.build.proj .targets .targets [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/extension-used-in-dotnet-and-msbuild-projects/">Extension used in DOTNET and MSBuild Projects</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div><img decoding="async" class="aligncenter wp-image-3184 size-full" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/extension-used-in-dotnet-an.png" alt="extension-used-in-dotnet-and-msbuild" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/extension-used-in-dotnet-an.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2016/07/extension-used-in-dotnet-an-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></div>
<div><strong>.proj</strong></div>
<div>A popular convention for generic use. Commonly used by a main build script.</div>
<div>Examples:</div>
<div>build.proj</div>
<div>main.proj</div>
<div>company.product.build.proj</div>
<div></div>
<div><strong>.targets</strong></div>
<div></div>
<div>.targets files are those which is meant to be imported into other files using the Import element. Since these files are strictly re-useable they don&#8217;t actually build anything. They typically are missing the properties and item values to actually build anything.</div>
<div></div>
<div>Examples:</div>
<div></div>
<div>Microsoft.Common.targets</div>
<div>Microsoft.CSharp.targets</div>
<div>Microsoft.Data.Entity.targets</div>
<div></div>
<div><strong>.**proj</strong></div>
<div></div>
<div>Language specific convention where **** represents the language short acronym.</div>
<div></div>
<div>Well-known extensions:</div>
<div></div>
<div>.csproj    | C#</div>
<div>.vbproj    | VB.NET</div>
<div>.vcxproj   | Visual C++</div>
<div>.dbproj    | Database project</div>
<div>.fsproj    | F#</div>
<div>.pyproj    | IronPython</div>
<div>.rbproj    | IronRuby</div>
<div>.wixproj   | Windows Installer XML (WiX)</div>
<div>.vdproj    | Visual Studio Deployment Project</div>
<div>.isproj    | InstallShield</div>
<div>.pssproj   | PowerShell</div>
<div>.modelproj | Modeling project</div>
<div></div>
<div><strong>.props</strong></div>
<div></div>
<div>A project property sheet used by Visual C++ projects (.vcxproj).</div>
<div></div>
<div>Examples:</div>
<div></div>
<div>Microsoft.Cl.Common.props</div>
<div>Microsoft.Cpp.CoreWin.props</div>
<div>Microsoft.Cpp.props</div>
<div>Microsoft.Link.Common.props</div>
<div></div>
<div><strong>.tasks</strong></div>
<div></div>
<div>A common include file to be imported by a calling MSBuild project. Contains a list of &lt;UsingTask&gt; elements.</div>
<div></div>
<div>Examples:</div>
<div></div>
<div>Microsoft.Common.Tasks</div>
<div>MSBuild.ExtensionPack.tasks</div>
<div></div>
<div><strong>.settings.targets</strong></div>
<div></div>
<div>(This is a related convention if not strictly-speaking a file extension.)</div>
<div></div>
<div>A common include file to be imported by a calling MSBuild project. Contains &#8220;various properties related to shared utilities used during the build and deployment processes as well as any other common settings&#8221; (Sayed Ibrahim Hashimi, 2009).</div>
<div></div>
<div>Examples:</div>
<div></div>
<div>EntityFramework.settings.targets</div>
<div></div>
<div>Compiler.settings.targets</div>
<div></div>
<div>Library.Settings.targets</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/extension-used-in-dotnet-and-msbuild-projects/">Extension used in DOTNET and MSBuild Projects</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/extension-used-in-dotnet-and-msbuild-projects/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introduction to MSBuild &#8211; Quick Intro Guide</title>
		<link>https://www.scmgalaxy.com/tutorials/introduction-to-msbuild/</link>
					<comments>https://www.scmgalaxy.com/tutorials/introduction-to-msbuild/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 05 May 2010 11:25:02 +0000</pubDate>
				<category><![CDATA[Msbuild]]></category>
		<category><![CDATA[About MSBuild]]></category>
		<category><![CDATA[Introduction of MSBuild]]></category>
		<category><![CDATA[MSBuild]]></category>
		<category><![CDATA[MSBuild Concepts]]></category>
		<category><![CDATA[MsBuild Guide]]></category>
		<category><![CDATA[MSBuild Overview]]></category>
		<category><![CDATA[properties]]></category>
		<category><![CDATA[What is MSBuild]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/05/05/introduction-to-msbuild/</guid>

					<description><![CDATA[<p>Introduction to MSBuild Microsoft supported build engine XML-based configuration file Intellisense available from Visual Studio using supplied schema Ships with [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-msbuild/">Introduction to MSBuild &#8211; Quick Intro Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-4384" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/05/msbuild-introduction.png" alt="msbuild-introduction" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/05/msbuild-introduction.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/05/msbuild-introduction-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><b>Introduction to MSBuild</b></p>
<ul>
<li>Microsoft supported build engine</li>
<li>XML-based configuration file</li>
<li>Intellisense available from Visual Studio using supplied schema</li>
<li>Ships with .NET Framework 2.0, it is NOT part of Team Foundation Server</li>
<li>Both Visual Studio and Team Foundation Server leverage MSBuild</li>
<li>Command-line utility &#8211; MSBuild.exe</li>
</ul>
<p><b>MSBuild Concepts</b></p>
<ol>
<li>Project</li>
<li>Property</li>
<li>Item</li>
<li>Target</li>
<li>Task</li>
</ol>
<p><b>Projects</b></p>
<p>–        The root concept in MSBuild</p>
<p>–        Defines the build process</p>
<p>Example:</p>
<pre></pre>
<pre>    Build</pre>
<pre></pre>
<p><b>Properties</b></p>
<p>–        Name/value pairs</p>
<p><b>Items</b></p>
<p>–        Set of objects (commonly files)</p>
<p>–        Can specify meta-data to be applied to the objects</p>
<p>Example:</p>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
<p><b>Targets</b></p>
<p>–        Defines a number of sequential tasks</p>
<p>–        Projects can have initial and/or default targets</p>
<p>Example:</p>
<pre></pre>
<pre></pre>
<pre></pre>
<pre></pre>
<p><b>Tasks</b></p>
<p>–        Performs an operation</p>
<p>–        Uses properties and items</p>
<p>–        Extensible</p>
<p>Exmaple:</p>
<pre></pre>
<pre>    &lt;MakeDir</pre>
<pre>        Directories="$(BuildDir)" /&gt;</pre>
<pre></pre>
<p><b>Some Reference Link:</b></p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms171452%28VS.90%29.aspx">http://msdn.microsoft.com/en-us/library/ms171452%28VS.90%29.aspx</a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx">http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx</a></p>
<p><a href="http://www.codeproject.com/KB/aspnet/Automate_Builds.aspx">http://www.codeproject.com/KB/aspnet/Automate_Builds.aspx</a></p>
<p><a href="http://www.codeproject.com/KB/aspnet/Automate_Builds.aspx">http://www.codeproject.com/KB/aspnet/Automate_Builds.aspx</a></p>
<p><a href="http://en.wikipedia.org/wiki/MSBuild">http://en.wikipedia.org/wiki/MSBuild</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/introduction-to-msbuild/">Introduction to MSBuild &#8211; Quick Intro Guide</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/introduction-to-msbuild/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Running MSBuild 4.0 and MSBuild 3.5 on Continuous Integration</title>
		<link>https://www.scmgalaxy.com/tutorials/running-msbuild-40-and-msbuild-35-on-continuous-integration/</link>
					<comments>https://www.scmgalaxy.com/tutorials/running-msbuild-40-and-msbuild-35-on-continuous-integration/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 09 Mar 2010 13:37:44 +0000</pubDate>
				<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[Msbuild]]></category>
		<category><![CDATA[CI server]]></category>
		<category><![CDATA[Continuous]]></category>
		<category><![CDATA[Continuous Integration server]]></category>
		<category><![CDATA[Continuous Integration using MSBuild]]></category>
		<category><![CDATA[Continuous Integration with MSBuild]]></category>
		<category><![CDATA[Guide]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[MSBuild]]></category>
		<category><![CDATA[MSBuild 3.5]]></category>
		<category><![CDATA[MSBuild 4.0]]></category>
		<category><![CDATA[Run]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/03/09/running-msbuild-40-and-msbuild-35-on-continuous-integration/</guid>

					<description><![CDATA[<p>With Visual Studio 2010 RC released recently, we jumped on the release and began to code with VS2010.  One issue [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/running-msbuild-40-and-msbuild-35-on-continuous-integration/">Running MSBuild 4.0 and MSBuild 3.5 on Continuous Integration</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4127 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/msbuild-40-and-msbuild-35-o.png" alt="msbuild-40-and-msbuild-35" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/msbuild-40-and-msbuild-35-o.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/msbuild-40-and-msbuild-35-o-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>With Visual Studio 2010 RC released recently, we jumped on the release and began to code with VS2010.  One issue that popped up was that now all builds were targeting MSBuild 4.0.</p>
<p>That doesn’t seem to be a big problem until our CruiseControl CI server kicked in, downloaded our updated code and failed building the upgraded projects.</p>
<p>Fortunately there is a very quick solution to this little problem.  There are a couple of requirements.</p>
<p>1. You need to have VS2010 RC installed somewhere<br />
2. You need to download the .Net Framework 4.0 (I recommend the full version and not just the Client Profile, it ensures you don’t miss anything)</p>
<p><b>To fix, do the following:</b></p>
<p>1. download and install the .Net Framework 4.0 on the CI server (then restart the server)<br />
2. on the computer where VS2010 RC is installed go to the following path:<br />
%programfiles%\MSBuild\Microsoft\VisualStudio<br />
3. copy the v10.0 folder located in that directory into the CI server at the same path (or wherever our MSbuild path is on the CI server)<br />
4. Once that is done, edit the ccnet.config file at the tag and change it to the new .Net 4.0 Framework installed (you should only need to change the section “\v3.5\” to “\v4.0.xxxxx\”</p>
<p>Hope this helps</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/running-msbuild-40-and-msbuild-35-on-continuous-integration/">Running MSBuild 4.0 and MSBuild 3.5 on Continuous Integration</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/running-msbuild-40-and-msbuild-35-on-continuous-integration/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
