views:

60

answers:

1

I just recently upgraded from VS2008 to VS2010. Because I do a lot of remote debugging (over VPN), I use Post-Build events to copy the compiled binaries and PDB's to the target machine before running. I do this by calling a batch file that (among other things) executes Robocopy.

In VS2008, the Output panel would display robocopy's output in realtime, i.e.:

5>          Newer             421376    RadarController.pdb
5>    0%  
5>   14%  
5>   29%  
5>   43%  
5>   58%  
5>   72%  
...

However, in VS2010, rather than showing the Post-Build event's progress little by little, it simply locks up until the entire event is complete - then the output all appears at once. This is a particular problem when copying over a slowish net connection, as I have no idea what's going on for potentially minutes at a time. There's no way to guess if the copy will go on for 5 seconds or 5 minutes; I wouldn't even know it was copying, if I wasn't already familiar with the order of the compiler events.

Is this a known bug in 2010, or does anyone know of an existing workaround?

Thanks!

Edit 1: The project is C#.

Edit 2: The exact Robocopy command I'm using is robocopy.exe . \\192.168.5.7\Release /NJS /NJH /Z /W:1 /R:5 /E

+1  A: 

It does pretty much the same thing for me. I have a post-build step that consists of ILMerge and then a DOS move command. The ILMerge output is never shown, but the output from move is. I submitted a bug on http://connect.microsoft.com, ID 613727.

DocKell