<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to publish a web site with MSBuild</title>
	<atom:link href="http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/feed/" rel="self" type="application/rss+xml" />
	<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/</link>
	<description>Getting the job done with .NET</description>
	<lastBuildDate>Thu, 09 Sep 2010 14:56:27 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: The Earl</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-7729</link>
		<dc:creator>The Earl</dc:creator>
		<pubDate>Mon, 23 Aug 2010 16:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-7729</guid>
		<description>You can emulate the publish web project menu command by calling the built in &#039;PipelinePreDeployCopyAllFilesToOneFolder&#039; target. 

MSBuild  /T:Clean;Build;PipelinePreDeployCopyAllFilesToOneFolder 
/p:_PackageTempDir=;Configuration=Release

I lost days of my life looking for that one :(</description>
		<content:encoded><![CDATA[<p>You can emulate the publish web project menu command by calling the built in &#8216;PipelinePreDeployCopyAllFilesToOneFolder&#8217; target. </p>
<p>MSBuild  /T:Clean;Build;PipelinePreDeployCopyAllFilesToOneFolder<br />
/p:_PackageTempDir=;Configuration=Release</p>
<p>I lost days of my life looking for that one <img src='http://codingcockerel.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dyadenka</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-7269</link>
		<dc:creator>Dyadenka</dc:creator>
		<pubDate>Mon, 17 May 2010 16:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-7269</guid>
		<description>Sounds quite familiar, usually there is never enough time to catch up with all things :). Just a small correction  - seems like it&#039;s not _CopyWebApplication target that is buggy but rather ResolveReferences one.</description>
		<content:encoded><![CDATA[<p>Sounds quite familiar, usually there is never enough time to catch up with all things <img src='http://codingcockerel.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Just a small correction  &#8211; seems like it&#8217;s not _CopyWebApplication target that is buggy but rather ResolveReferences one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: codingcockerel</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-7267</link>
		<dc:creator>codingcockerel</dc:creator>
		<pubDate>Mon, 17 May 2010 13:59:19 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-7267</guid>
		<description>hi Dyadenka, yes you&#039;re right the article is a bit out of date. One of these days I will get time to rewrite it using the latest tools, and all the useful comments people have provided over the last two years.</description>
		<content:encoded><![CDATA[<p>hi Dyadenka, yes you&#8217;re right the article is a bit out of date. One of these days I will get time to rewrite it using the latest tools, and all the useful comments people have provided over the last two years.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dyadenka</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-7266</link>
		<dc:creator>Dyadenka</dc:creator>
		<pubDate>Mon, 17 May 2010 11:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-7266</guid>
		<description>Hi, nice article, however you may want to update it with Ben&#039;s comment about bug in _CopyWebApplication target. I was fighting that for a few hours until I looked under the article and stumbled upon Ben&#039;s comment.

If you reference 3-rd party assembly (e.g. NHibernate.dll) which in turn depends on some other assembly (e.g. Castle.Core.dll, Iesi.Collections.dll) those third level dependency assemblies are not copied without workaround suggested in that Connect issue that Ben is referring to.</description>
		<content:encoded><![CDATA[<p>Hi, nice article, however you may want to update it with Ben&#8217;s comment about bug in _CopyWebApplication target. I was fighting that for a few hours until I looked under the article and stumbled upon Ben&#8217;s comment.</p>
<p>If you reference 3-rd party assembly (e.g. NHibernate.dll) which in turn depends on some other assembly (e.g. Castle.Core.dll, Iesi.Collections.dll) those third level dependency assemblies are not copied without workaround suggested in that Connect issue that Ben is referring to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajeeth</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-6735</link>
		<dc:creator>Ajeeth</dc:creator>
		<pubDate>Fri, 19 Feb 2010 08:00:43 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-6735</guid>
		<description>

	
	
		Output
	

	
		
			
		
		
	

	
		
		
	
</description>
		<content:encoded><![CDATA[<p>Output</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajeeth</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-6734</link>
		<dc:creator>Ajeeth</dc:creator>
		<pubDate>Fri, 19 Feb 2010 06:11:18 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-6734</guid>
		<description>I am not able to post the XML script. I can mail you if needed.</description>
		<content:encoded><![CDATA[<p>I am not able to post the XML script. I can mail you if needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajeeth</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-6733</link>
		<dc:creator>Ajeeth</dc:creator>
		<pubDate>Fri, 19 Feb 2010 06:10:31 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-6733</guid>
		<description>I have used the script for my application and I could see that the referenced dlls are getting duplicated into D:\ drive which is annoying.

Can you please let me know where I am making the mistake

Please find the xml file



	
	
		Output
		
		
		
		
	
	
		
		
	

	
		
			
		
		
	

	
		
	

	
		
		
	
</description>
		<content:encoded><![CDATA[<p>I have used the script for my application and I could see that the referenced dlls are getting duplicated into D:\ drive which is annoying.</p>
<p>Can you please let me know where I am making the mistake</p>
<p>Please find the xml file</p>
<p>		Output</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: codingcockerel</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-6675</link>
		<dc:creator>codingcockerel</dc:creator>
		<pubDate>Wed, 03 Feb 2010 10:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-6675</guid>
		<description>Hi Luke,

Difficult to say, but most likely it is security and permissions related. Make sure that your account has write access to that share.

Ross</description>
		<content:encoded><![CDATA[<p>Hi Luke,</p>
<p>Difficult to say, but most likely it is security and permissions related. Make sure that your account has write access to that share.</p>
<p>Ross</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Correa</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-6671</link>
		<dc:creator>Luke Correa</dc:creator>
		<pubDate>Tue, 02 Feb 2010 17:36:31 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-6671</guid>
		<description>I get the following error...

C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets(45,3): error MSB3191: Unable to create directory &quot;\\TestShare\Web\DEV\bin&quot;. Could not find file &#039;\\TestShare\Web\DEV\bin&#039;.

Is this a rights issue?</description>
		<content:encoded><![CDATA[<p>I get the following error&#8230;</p>
<p>C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets(45,3): error MSB3191: Unable to create directory &#8220;\\TestShare\Web\DEV\bin&#8221;. Could not find file &#8216;\\TestShare\Web\DEV\bin&#8217;.</p>
<p>Is this a rights issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://codingcockerel.co.uk/2008/05/18/how-to-publish-a-web-site-with-msbuild/comment-page-1/#comment-6575</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 08 Jan 2010 22:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://codingcockerel.co.uk/?p=15#comment-6575</guid>
		<description>If you&#039;re having problems with referenced dll&#039;s not being included, you might need to add the property BuildingProject=true to the MsBuild command.

This is a known bug, see http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=383199</description>
		<content:encoded><![CDATA[<p>If you&#8217;re having problems with referenced dll&#8217;s not being included, you might need to add the property BuildingProject=true to the MsBuild command.</p>
<p>This is a known bug, see <a href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=383199" rel="nofollow">http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=383199</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
