Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Get this compile error "Could not copy temporary files to the output directory."

Get this compile error "Could not copy temporary files to the output directory."

Scheduled Pinned Locked Moved C#
helpcsharpvisual-studio
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tony_Joh
    wrote on last edited by
    #1

    Hello! I use VS 2003 and C# When I build an exe file that use 6 class library dll I get this error. Could not copy temporary files to the output directory. The file 'MeltPracStorage.dll' cannot be copied to the run directory. Det går inte att komma åt filen eftersom den används av en annan process. All six project is located in the solution that build the exe file This compile error occurred when I add project 'MeltPracStorage to the solution. I use copy local=true If I have this MeltPracStorage in a solution of its own and only reference the class dll MeltPracStorage.dll in the reference list for the project that build the exe file I don't get any errors. The MeltPracStorage.dll size is 176 kB Have you any kind of suggestion to ny problem. //Tony

    M 1 Reply Last reply
    0
    • T Tony_Joh

      Hello! I use VS 2003 and C# When I build an exe file that use 6 class library dll I get this error. Could not copy temporary files to the output directory. The file 'MeltPracStorage.dll' cannot be copied to the run directory. Det går inte att komma åt filen eftersom den används av en annan process. All six project is located in the solution that build the exe file This compile error occurred when I add project 'MeltPracStorage to the solution. I use copy local=true If I have this MeltPracStorage in a solution of its own and only reference the class dll MeltPracStorage.dll in the reference list for the project that build the exe file I don't get any errors. The MeltPracStorage.dll size is 176 kB Have you any kind of suggestion to ny problem. //Tony

      M Offline
      M Offline
      Maqsood Ahmed
      wrote on last edited by
      #2

      Hello, Please check that the dll file is being used by an running .exe file. close the application and try to build it. It should work. HTH. Cheers :) Maqsood Ahmed - MCAD.net Kolachi Advanced Technologies http://www.kolachi.net

      N 1 Reply Last reply
      0
      • M Maqsood Ahmed

        Hello, Please check that the dll file is being used by an running .exe file. close the application and try to build it. It should work. HTH. Cheers :) Maqsood Ahmed - MCAD.net Kolachi Advanced Technologies http://www.kolachi.net

        N Offline
        N Offline
        nicck07
        wrote on last edited by
        #3

        follow the steps.. 1) Close VS.net 2) Delete the and obj folder inside of the project u trying to build. 3) now build the application. There are chances that the pdb might be the problem,:) Mind think with Ideas,not Data. No amount of Information or Data could be compared with an inspired thought. -- modified at 9:15 Tuesday 28th March, 2006

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups