<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>The Moon Upstairs - Visual Studio</title>
    <link>http://fredwebs.com/blog/</link>
    <description>And other .Net Programming Issues</description>
    <language>en-us</language>
    <copyright>Fred Peters</copyright>
    <lastBuildDate>Tue, 09 Mar 2010 23:11:00 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.2.8279.16125</generator>
    <managingEditor>Fred@FredWebs.com</managingEditor>
    <webMaster>Fred@FredWebs.com</webMaster>
    <item>
      <trackback:ping>http://fredwebs.com/blog/Trackback.aspx?guid=cab10b29-e543-4f76-bde6-df0363dc8221</trackback:ping>
      <pingback:server>http://fredwebs.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://fredwebs.com/blog/PermaLink,guid,cab10b29-e543-4f76-bde6-df0363dc8221.aspx</pingback:target>
      <dc:creator>Fred Peters</dc:creator>
      <wfw:comment>http://fredwebs.com/blog/CommentView,guid,cab10b29-e543-4f76-bde6-df0363dc8221.aspx</wfw:comment>
      <wfw:commentRss>http://fredwebs.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=cab10b29-e543-4f76-bde6-df0363dc8221</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Here’s a bug I found in Visual Studio 2008.  Hopefully it will be fixed in the
2010 version.  Projects in a system I work on often have an Xcopy post build
commands to copy the DLL and PDB to a reference directory.  I recently added
one of these commands to an existing project:  
</p>
        <p>
xcopy /f /d /y 
</p>
        <p>
"D:\Work\casfw3\trunk\Source\Common\QuickAddressProv6\bin\Debug\*.*" 
</p>
        <p>
"D:\Work\casfw3\trunk\Source\Common\QuickAddressProv6\..\..\..\..\References\Common\" 
</p>
        <p>
if errorlevel 1 exit %25errorlevel%25 
</p>
        <p>
Visual Studio 2008 reported that it copied two files for the commands.  But when
you go and look for the files they are not to be found.  Of course I rebuilt
the project several times but a file search of the tree could not find the copied
files.
</p>
        <p>
I copied the command to a command line window and the Xcopy command returns “0 Files
Copied”.  I then realized I was trying to go up one too many folders (“..\”). 
I made the correction and using the command line the files were successfully copied
by Visual Studio.
</p>
        <img width="0" height="0" src="http://fredwebs.com/blog/aggbug.ashx?id=cab10b29-e543-4f76-bde6-df0363dc8221" />
      </body>
      <title>Visual Studio Post Build Bug</title>
      <guid isPermaLink="false">http://fredwebs.com/blog/PermaLink,guid,cab10b29-e543-4f76-bde6-df0363dc8221.aspx</guid>
      <link>http://fredwebs.com/blog/2010/03/09/VisualStudioPostBuildBug.aspx</link>
      <pubDate>Tue, 09 Mar 2010 23:11:00 GMT</pubDate>
      <description>&lt;p&gt;
Here’s a bug I found in Visual Studio 2008.&amp;#160; Hopefully it will be fixed in the
2010 version.&amp;#160; Projects in a system I work on often have an Xcopy post build
commands to copy the DLL and PDB to a reference directory.&amp;#160; I recently added
one of these commands to an existing project:&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
xcopy /f /d /y 
&lt;/p&gt;
&lt;p&gt;
&amp;quot;D:\Work\casfw3\trunk\Source\Common\QuickAddressProv6\bin\Debug\*.*&amp;quot; 
&lt;/p&gt;
&lt;p&gt;
&amp;quot;D:\Work\casfw3\trunk\Source\Common\QuickAddressProv6\..\..\..\..\References\Common\&amp;quot; 
&lt;/p&gt;
&lt;p&gt;
if errorlevel 1 exit %25errorlevel%25 
&lt;/p&gt;
&lt;p&gt;
Visual Studio 2008 reported that it copied two files for the commands.&amp;#160; But when
you go and look for the files they are not to be found.&amp;#160; Of course I rebuilt
the project several times but a file search of the tree could not find the copied
files.
&lt;/p&gt;
&lt;p&gt;
I copied the command to a command line window and the Xcopy command returns “0 Files
Copied”.&amp;#160; I then realized I was trying to go up one too many folders (“..\”).&amp;#160;
I made the correction and using the command line the files were successfully copied
by Visual Studio.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://fredwebs.com/blog/aggbug.ashx?id=cab10b29-e543-4f76-bde6-df0363dc8221" /&gt;</description>
      <comments>http://fredwebs.com/blog/CommentView,guid,cab10b29-e543-4f76-bde6-df0363dc8221.aspx</comments>
      <category>Visual Studio</category>
    </item>
  </channel>
</rss>