Microsoft Developer Network > Forums Home > Microsoft Visual Studio 2010 Beta 2 Forums > Visual Studio Editor > VS2010B2 Building failed: unable to copy file from 'obj\debug\****.dll' to 'bin\debug\****.dll'
Ask a questionAsk a question
 

General DiscussionVS2010B2 Building failed: unable to copy file from 'obj\debug\****.dll' to 'bin\debug\****.dll'

  • Wednesday, October 28, 2009 4:05 AM随风飘扬 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I noticed that in vs2010b2 , building project often failed with following error:

    Error 1 Unable to copy file "obj\Release\FSLib.Windows.dll" to "bin\Release\FSLib.Windows.dll". The process cannot access the file 'bin\Release\FSLib.Windows.dll' because it is being used by another process.

    This error didn't always occured.
    It's too hard to see this error in vs2008. In fact,this dll was locked by vs2010b2 itself.
    Unload & Reload project takes no effects. At this time,only close IDE & restart IDE could continue.

    Project Type: Window Library
    OS: Windows7 (both 32bit & 64bit)

    BTW, In this solution,this project was referenced by another GUI project, and property 'Copy Local' has been set to true.

All Replies

  • Tuesday, November 10, 2009 2:42 AMChuck England - MSFTModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Would it be possible for you to enter a bug for this on the Customer Connect site (http://connect.microsoft.com) and include a detailed log from the build?

    In order to follow up we would also either need a set of repro steps that produce the behavior. (A sample project perhaps.)

    Thanks,

    Chuck England
    Visual Studio Platform
    Program Manager - MSBuild