DLL cannot be copied to the run directory

Discussion in 'ASP .Net Building Controls' started by art a, Jul 17, 2003.

  1. art a

    art a Guest

    Hello folks,

    I'm getting the following error when compiling my control library:

    The file 'DDSControls.dll' cannot be copied to the run directory. The
    process cannot access the file because it is being used by another process.

    Could not copy temporary files to the output directory.

    My interim solution is to exit VS.net and delete the .DLL files fromt he
    /bin directory of my web application.
    Is there an alternative solution to this?


    art a, Jul 17, 2003
    1. Advertisements

  2. Hi Art,

    There are several things that may be causing this. If you do a quick search
    in http://groups.google.com you will find *tons* of threads about the
    different scenarios where this may happen along with suggested solutions.

    Victor Garcia Aprea
    Microsoft MVP | ASP.NET
    Looking for insights on ASP.NET? Read my blog:
    To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
    and not by private mail.
    Victor Garcia Aprea [MVP], Jul 17, 2003
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.