Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6138647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:53:34+00:00 2026-05-23T17:53:34+00:00

I just recently upgraded from VS2008 to VS2010. Because I do a lot of

  • 0

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 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:53:34+00:00Added an answer on May 23, 2026 at 5:53 pm

    I am wondering if using an msbuild <exec> task instead of a post-build event would resolve this issue?

    If the <exec> task does not meet your requirements, maybe a custom msbuild task that does something similar to the <exec> task would resolve the issue for example.

    Update:
    I just tried using <Exec Command="" /> instead of a PostBuild event in my msbuild file but it still kept the Visual Studio IDE busy\unresponsive.

    Maybe we can create a custom msbuild task that calls Application.DoEvents to keep the UI responsive?

    Update #2:
    I uploaded a patch to MSBuild Extension Pack that implements a custom msbuild task called SmartExec that works around this issue.

    http://msbuildextensionpack.codeplex.com/workitem/9053
    http://msbuildextensionpack.codeplex.com/SourceControl/list/patches
    Patch Id 9878

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I just recently upgraded a VS2008/.NET 3.5 SP1 project to VS2010 and .NET 4.
We've recently upgraded from VS2008 -> VS2010 (and hence upgrading from Web Deployment Project
We just recently upgraded from VS2005 to VS2010. I've noticed that unlike VS2005, when
We've recently upgraded from VS2008 to VS2010. The conversion of our vb.net Windows Forms
We just recently upgraded from Spring Security version 3.0 to version 3.1. Our old
my company has recently upgraded from VS2005 to VS2010. We have a huge project
I've just recently upgraded to Fedora 16 (from fedora 12), and have read/been told
I'm using Magento 1.7.0.1 just recently upgraded from 1.6.2.0 . I have the SCP
Looking for a best practice here. But I just recently upgraded an app from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.