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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:18:52+00:00 2026-05-10T17:18:52+00:00

Every once in a while, typically when I stop debugging in our UI assembly,

  • 0

Every once in a while, typically when I stop debugging in our UI assembly, I get the following error which requires a restart of Visual Studio 2008 and it’s killing my productivity:

Error 13 Unable to copy file [UI assembly] to [output directory]. The process cannot access the file [output directory][UI assembly] because it is being used by another process.

After restarting, I get this error:

Error 1 Metadata file [utility function assembly in RELEASE folder] could not be found.

I find this really, really odd because we never use the Release configuration.

I’m using VS 2k8 SP1 on Windows Vista.

I know that it’s the VS debugger that’s not releasing its file handle by using the handle utility (formerly from Sysinternals). The process is devenv.exe.

I’ve tried closing and reopening the solution. Didn’t work. Only a full VS2k8 restart works.

I’ve tried adding a pre-build event, to move the file as described here, but that doesn’t work because Windows can’t delete the file for the same reason it can’t replace it: it’s got an open handle.

I even tried manually closing the handle using the handle.exe util described above, then trying the pre-build event. Visual Studio apparently doesn’t know its handle has been closed because the VS build fails, but handle.exe shows no open file handles on the file in question.

For the record, here are the add-ins I run:

  • ReSharper 4
  • Smart Paster 2008
  • Typemock Isolator
  • TestDriven.NET 2.13.2184

I also use Developer Express controls for this project, so that may have something to do with it as well.

  • 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. 2026-05-10T17:18:53+00:00Added an answer on May 10, 2026 at 5:18 pm

    I’ve had similar problems in VS2005 and VS2008 without any add-ins installed or any third-party controls in the project. The only solution I’ve found is to close Visual Studio and reopen it. It is a very intermittent problem and while annoying, one that it seems can’t be resolved on your end.

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

Sidebar

Ask A Question

Stats

  • Questions 80k
  • Answers 80k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Anticipating Out of Memory Errors I'm surprised I didn't see… May 11, 2026 at 4:16 pm
  • Editorial Team
    Editorial Team added an answer No, it's definitely not thread-safe. The fact that it uses… May 11, 2026 at 4:16 pm
  • Editorial Team
    Editorial Team added an answer Arrays are not primitive. You need to use CodeArrayCreateExpression: Int32[]… May 11, 2026 at 4:16 pm

Related Questions

Every once in a while when I am tweaking my TFrame classes (adding properties,
I've seen a lot of questions and discussions about build vs. buy, but most
<edit> Thanks to everyone who has answered so far. The zip and os.path.join are
I new to Scrum and while I understand the team concept behind the Sprints,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.