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 8382617
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:58:13+00:00 2026-06-09T16:58:13+00:00

I have a visual studio solution whith (roughly speaking) the following layout: Common.dll Proja

  • 0

I have a visual studio solution whith (roughly speaking) the following layout:

Common.dll
Proja (project which references Common.dll)
Projb (project which references Common.dll)
Main (Executable which references proja and projb)

The problem is that sometimes when I compile I get

11>Proja : error PRJ0008 : Could not delete file 'c:\Blah blah blah\Main\Release\Ionic.Zip.dll'.

…because (I think) both proja and projb are being built at once. Since they both end up in the same output directory I’m guessing one thread attempts to delete the Common.dll while the other one is using it or something along those lines.

Now if it’s just me compiling the project, that’s fine as I can always hit the rebuild button and after a couple of fails it appears the sort itself out. The more difficult issue is that we’re moving to using Jenkins and that keeps failing.

What’s the right way to do this?

  • 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-06-09T16:58:14+00:00Added an answer on June 9, 2026 at 4:58 pm

    Took a bit of fiddling around, but the bit that seemed to sort the issue out in the end was changing the intermediate and output directory of every project to $(ProjectDir)\$(ConfigurationName seems to have solved the issue. I can run MSBuild with s many processors as I like and it still succeeds 🙂

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

Sidebar

Related Questions

I have a Visual Studio solution which consists of a DLL and an EXE.
I have a vanilla Visual Studio 2005 Solution with a single C++ Project which
I have a Visual Studio 2010 solution that contains 3 projects: a dll project,
I have a Visual studio 2008 solution, with 2 projects. A DLL, A, and
This is my project setup: In visual studio I have a solution with a
We have a large Visual Studio 2005 C++/Mfc solution, 1 project with around 1300
I have a solution that I am trying to build in Visual Studio which
In Visual Studio you can create a Website, which doesn't have a solution or
I have a Visual Studio 2008 solution with several projects. One project is a
I am using Visual Studio. I have a solution which contains 2 console application

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.