Results 1 to 2 of 2

Thread: VS2010 Pro - Unable to copy file "obj\Release\blah.exe" to "bin\Release\blah.exe"...

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2005
    Posts
    183

    VS2010 Pro - Unable to copy file "obj\Release\blah.exe" to "bin\Release\blah.exe"...

    ...because it's being used by another process."

    I almost always get this error whenever I try to build or run a program after making some changes to it in VS 2010. I've had one or two days where it's worked fine for ages but usually it happens every time a change is made. I'm forced to save, close VS 2010, reopen the project and build/run. If I try to manually delete the built exe in \bin\Release, Windows tells me that I can't because it's in use by VS 2010. If I close VS 2010 I can delete the file normally.

    Some info:

    - I did not and do not have this problem with VS 2008, with the same projects.
    - I can't say if it happens for all of my projects but it certainly isn't limited to just one.
    - I'm using Windows 7 Professional x64 and Visual Studio 2010 Professional.
    - All of my programs are in VB.NET, usually targeting .NET 2.0 and a mixture of x86 and AnyCPU.
    - The projects are not in system or otherwise protected folders (like C:\).
    - The programs are not open (aside from the .vshost process) when I get these errors.

    Does anyone have any idea why this is happening? Is this a known problem with VS 2010?
    Last edited by DragonQ; Apr 27th, 2010 at 10:27 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width