<?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>A glass case of thoughts &#187; deployment</title>
	<atom:link href="http://jyotsna.philogy.com/tag/deployment/feed/" rel="self" type="application/rss+xml" />
	<link>http://jyotsna.philogy.com</link>
	<description>Brain munch illustrated</description>
	<lastBuildDate>Wed, 24 Mar 2010 05:49:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>To remember: .net web app deployment</title>
		<link>http://jyotsna.philogy.com/2008/12/to-remember-net-web-app-deployment/</link>
		<comments>http://jyotsna.philogy.com/2008/12/to-remember-net-web-app-deployment/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 09:55:16 +0000</pubDate>
		<dc:creator>Jyotsna</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[csproj]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[excludefrombuild]]></category>
		<category><![CDATA[excludefrombuild .svn]]></category>
		<category><![CDATA[pdb]]></category>
		<category><![CDATA[web application]]></category>
		<category><![CDATA[web deployment]]></category>

		<guid isPermaLink="false">http://jyotsna.philogy.com/?p=15</guid>
		<description><![CDATA[Problem: 
While creating an installer for a .net web application, we usually follow a practice of adding a web deployment project and then adding the pre-compiled web output to a web setup project. An observation is that the precompiled web output contains project files, version control system files if any and debug symbols as well.
Solution: [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem: </strong><br />
While creating an installer for a .net web application, we usually follow a practice of adding a web deployment project and then adding the pre-compiled web output to a web setup project. An observation is that the precompiled web output contains project files, version control system files if any and debug symbols as well.</p>
<p><strong>Solution: </strong><br />
Find a way to remove the files from precompiled web output.  How: Open the web deployment project file and add following so that ItemGroup section looks like following. This example is considering SVN as a version control system.</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ItemGroup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ExcludeFromBuild</span> <span style="color: #000066;">Include</span>=<span style="color: #ff0000;">&quot;$(SourceWebPhysicalPath)\.svn\**\*.*;$(SourceWebPhysicalPath)\**\.svn\**\*.*&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ExcludeFromBuild<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ExcludeFromBuild</span> <span style="color: #000066;">Include</span>=<span style="color: #ff0000;">&quot;$(SourceWebPhysicalPath)\bin\*.pdb&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ExcludeFromBuild<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ExcludeFromBuild</span> <span style="color: #000066;">Include</span>=<span style="color: #ff0000;">&quot;$(SourceWebPhysicalPath)\*.csproj&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ExcludeFromBuild<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;ExcludeFromBuild</span> <span style="color: #000066;">Include</span>=<span style="color: #ff0000;">&quot;$(SourceWebPhysicalPath)\*.user&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ExcludeFromBuild<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/ItemGroup<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://jyotsna.philogy.com/2008/12/to-remember-net-web-app-deployment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
