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

  • Home
  • SEARCH
  • 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 5988733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:59:59+00:00 2026-05-22T22:59:59+00:00

I have a visual studio 2005 project with a custom build step that copies

  • 0

I have a visual studio 2005 project with a custom build step that copies a library file to the target applications plugin directory. This works fine, but in the case where I have the target application open it fails, understandably.

The problem with this behaviour is it prevents my build from continuing, meaning I can’t hit build, then grab a coffee, and expect the build to be complete when I get back.

My question is, can I set-up the project so that if the custom build step fails, the build will continue?

  • 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-22T23:00:00+00:00Added an answer on May 22, 2026 at 11:00 pm

    The solution to this problem was to handle the failure in the post build event. The following code fixes the issue:

    copy $(TargetPath) "%programfiles%\mypath"
    if errorlevel 1 goto BuildProcessFailed
    
    goto BuildProcessOK
    :BuildProcessFailed
    echo BUILDPROCESS FAILED FOR PROJECT $(ProjectName)
    goto ExitBuildProcess
    :BuildProcessOK
    echo BUILDPROCESS OK FOR PROJECT $(ProjectName)
    
    :ExitBuildProcess
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the ActiveMQ-CPP 2.2.1 Visual Studio 2005 project compiling and running. In the
Microsoft Visual Studio (2005 and 2008) seems to have fun shuffling the Project IDs
I have a setup project created by Visual Studio 2005, and consists of both
I have just converted a project from Visual Studio 2003 to 2005 and although
Environment: Team Foundation Server 2005 Visual Studio 2008 I have a reasonably large project
I have a Visual Studio 2005 C++ program that runs differently in Release mode
I currently have a project I am building in Visual Studio 2005 and I
I have a solution with two project in Visual Studio 2005. I want to
I am using visual studio 2005 to build a c++ project. This project contains
I have a problem with my Visual Studio 2005 C# project. I have been

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.