Visual Studio 2010 Output Panel Not Updating Postbuild Output -


I have recently upgraded from VS2008 to VS2010 because I do a lot of remote debugging (over VPN) Before posting, I use post-build events to copy compiled binary and PDB's target machine. I do this by saying a batch file (except for other things) executes robocopy.

In VS 2008, the output panel will display the production of Robocopy in real time, that is:

  5> New 421376 Radar Controller. Pdb 5 & gt; 0% 5> 14% 5 & gt; 29% 5 & gt; 43% 5> 58% 5 & gt; 72% ...  

However, in VS2010, instead of showing the progress of the post-build event, it completely loses until the whole event Not complete - then the output is all visible immediately This is a special problem when copying a slow net connection, because I do not know what is going on for the potential minutes at a time. There is no way to estimate that for every 5 seconds or 5 minutes; I did not even know that it was copying, if I was not already familiar with the order of compiler events.

Is this a known bug in 2010, or is anyone aware of the existing solution?

Thank you!

Edit 1: Project is C #.

Editing 2: The exact robocopy command I am using is robocopy.exe. \\ 192.168.5.7 \ Release / NJS / NJH / Z / W: 1 / R: 5 / E

I'm thinking that instead of post-build events, an MSBILDE & lt; Exec & gt; Will this problem be resolved by using the work?

If & lt; Exec & gt; If the job does not meet your needs, then a custom msbld task that is & lt; Exec & gt; is similar to the work, for example the problem will be resolved.

Update : I just reached & lt; Exec Command = "" / & gt; has tried to use PostBuild event in my MSBILD file but it is still kept Visual Studio IDE busy \ unresponsive.

Perhaps we can create a custom Msbild job that calls the application. Doions to keep the UI IMAGE responsive?

Update # 2 : I've uploaded a patch for the MSBuild Extension Pack, which implements a custom msbld task called SmartExac, which works around this problem.



Patch ID 9878


Comments