<?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"
	>
<channel>
	<title>Comments on: Execute batch commands before or after compilation using Pre-build or Post-build events</title>
	<atom:link href="http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/</link>
	<description>Adventures in Computing - Can Erten's Blog</description>
	<pubDate>Thu, 20 Nov 2008 16:47:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Dal Hit</title>
		<link>http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/#comment-27752</link>
		<dc:creator>Dal Hit</dc:creator>
		<pubDate>Fri, 15 Feb 2008 02:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/#comment-27752</guid>
		<description>Hi Dude, i am coming accross similar problem.

I have VS 2005 with .NET 2,3,3.5. on Win 2K3 Entp Edtn

In post build event, i am running below command
copy "$(ProjectDir)Tests\Microsoft.Practices.EnterpriseLibrary.Configuration.dll.config" "$(TargetDir)"

But it exits with following error:

Error	71	The command "copy 'C:\_Src\LPO_ECM\HERMESDEV01_EcmBuild\Sources\Source\EnterpriseLibrary\Configuration\Tests\Microsoft.Practices.EnterpriseLibrary.Configuration.dll.config' 'C:\_Src\LPO_ECM\HERMESDEV01_EcmBuild\Sources\Source\EnterpriseLibrary\Configuration\bin\ReleaseFinal\'" exited with code 1. Configuration.prod


Even i replace above Macro-Directories with actual path, as below, but still i am getting error.

copy "C:\_Src\LPO_ECM\HERMESDEV01_EcmBuild\Sources\Source\EnterpriseLibrary\Configuration\Tests\Microsoft.Practices.EnterpriseLibrary.Configuration.dll.config" "C:\_Src\LPO_ECM\HERMESDEV01_EcmBuild\Sources\Source\EnterpriseLibrary\Configuration\bin\ReleaseFinal\" 


Also i cheked that Source folder has necessary files &#38; destination folder is writtable.

I am not able to understand what wrong here..!!!

In case anyone can throw some light on this issue,
please reply me : dal_hit@yahoo.com

Thanks
Dal Hit</description>
		<content:encoded><![CDATA[<p>Hi Dude, i am coming accross similar problem.</p>
<p>I have VS 2005 with .NET 2,3,3.5. on Win 2K3 Entp Edtn</p>
<p>In post build event, i am running below command<br />
copy &#8220;$(ProjectDir)Tests\Microsoft.Practices.EnterpriseLibrary.Configuration.dll.config&#8221; &#8220;$(TargetDir)&#8221;</p>
<p>But it exits with following error:</p>
<p>Error	71	The command &#8220;copy &#8216;C:\_Src\LPO_ECM\HERMESDEV01_EcmBuild\Sources\Source\EnterpriseLibrary\Configuration\Tests\Microsoft.Practices.EnterpriseLibrary.Configuration.dll.config&#8217; &#8216;C:\_Src\LPO_ECM\HERMESDEV01_EcmBuild\Sources\Source\EnterpriseLibrary\Configuration\bin\ReleaseFinal\&#8217;&#8221; exited with code 1. Configuration.prod</p>
<p>Even i replace above Macro-Directories with actual path, as below, but still i am getting error.</p>
<p>copy &#8220;C:\_Src\LPO_ECM\HERMESDEV01_EcmBuild\Sources\Source\EnterpriseLibrary\Configuration\Tests\Microsoft.Practices.EnterpriseLibrary.Configuration.dll.config&#8221; &#8220;C:\_Src\LPO_ECM\HERMESDEV01_EcmBuild\Sources\Source\EnterpriseLibrary\Configuration\bin\ReleaseFinal\&#8221; </p>
<p>Also i cheked that Source folder has necessary files &amp; destination folder is writtable.</p>
<p>I am not able to understand what wrong here..!!!</p>
<p>In case anyone can throw some light on this issue,<br />
please reply me : <a href="mailto:dal_hit@yahoo.com">dal_hit@yahoo.com</a></p>
<p>Thanks<br />
Dal Hit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kiril Stankov</title>
		<link>http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/#comment-26241</link>
		<dc:creator>Kiril Stankov</dc:creator>
		<pubDate>Fri, 30 Nov 2007 22:54:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/#comment-26241</guid>
		<description>Hi,

I've fixed this by putting all commands in C:\postbld.bat. As it is short name, all runs Ok. Use cd inside the batch file to go to your project folder, do not try to put shell commands in .Net.

HTH,

Kiril.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve fixed this by putting all commands in C:\postbld.bat. As it is short name, all runs Ok. Use cd inside the batch file to go to your project folder, do not try to put shell commands in .Net.</p>
<p>HTH,</p>
<p>Kiril.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammad Azam</title>
		<link>http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/#comment-26169</link>
		<dc:creator>Mohammad Azam</dc:creator>
		<pubDate>Mon, 19 Nov 2007 14:53:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/#comment-26169</guid>
		<description>Hi, 

The above does not work. It still throws the exception saying "Path cannot be found"!!</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>The above does not work. It still throws the exception saying &#8220;Path cannot be found&#8221;!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgio Di Nardo</title>
		<link>http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/#comment-26167</link>
		<dc:creator>Giorgio Di Nardo</dc:creator>
		<pubDate>Mon, 19 Nov 2007 10:11:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.canerten.com/execute-batch-commands-before-or-after-compilation-using-pre-build-or-post-build-events/#comment-26167</guid>
		<description>thanks very much!</description>
		<content:encoded><![CDATA[<p>thanks very much!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
