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. Visual Studio
  4. Could not copy temporary files to the output directory.

Could not copy temporary files to the output directory.

Scheduled Pinned Locked Moved Visual Studio
helpvisual-studioquestion
4 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.
  • C Offline
    C Offline
    Christian Wikander
    wrote on last edited by
    #1

    Since lately I have the following error when I try to compile most of my projects: Could not copy temporary files to the output directory. I'm running VS 2002 and I have Framework 1.0 SP3 installed. If I start a new project it's usually OK to compile, but after I have added some code I can only compile the program once beween every reboot. It doesn't help to close down the IDE. After the first time I get the error I can delete all the files in the obj and bin folders for the project. All files are created in both folders, but I stil get the error. After this all files in the bin folder are locked until I reboot. As far as I can remember the problem started when I installed Framework 1.0 SP3, though I haven't been a very frequent user of VS on this particular computer since it's my home computer, so I'm not entirely sure. This is also the reason for sticking with VS 2002, it costs too much to upgrade, so I'd rather continue to use VS 2002. I have tried to find information about this error on the net, but nothing I've found could be applied. All projects are standard Windows applications. They are not referenced and does not reference any other dll's other than the one that are created when I create a new Windows Application project. The resulting exe and pdb files are small, 16kb and 24kb respectively. Does anyone have a clue? TIA Christian

    O S 2 Replies Last reply
    0
    • C Christian Wikander

      Since lately I have the following error when I try to compile most of my projects: Could not copy temporary files to the output directory. I'm running VS 2002 and I have Framework 1.0 SP3 installed. If I start a new project it's usually OK to compile, but after I have added some code I can only compile the program once beween every reboot. It doesn't help to close down the IDE. After the first time I get the error I can delete all the files in the obj and bin folders for the project. All files are created in both folders, but I stil get the error. After this all files in the bin folder are locked until I reboot. As far as I can remember the problem started when I installed Framework 1.0 SP3, though I haven't been a very frequent user of VS on this particular computer since it's my home computer, so I'm not entirely sure. This is also the reason for sticking with VS 2002, it costs too much to upgrade, so I'd rather continue to use VS 2002. I have tried to find information about this error on the net, but nothing I've found could be applied. All projects are standard Windows applications. They are not referenced and does not reference any other dll's other than the one that are created when I create a new Windows Application project. The resulting exe and pdb files are small, 16kb and 24kb respectively. Does anyone have a clue? TIA Christian

      O Offline
      O Offline
      ognat
      wrote on last edited by
      #2

      I'm using a webclient. Can this problem have anything to do with that?

      1 Reply Last reply
      0
      • C Christian Wikander

        Since lately I have the following error when I try to compile most of my projects: Could not copy temporary files to the output directory. I'm running VS 2002 and I have Framework 1.0 SP3 installed. If I start a new project it's usually OK to compile, but after I have added some code I can only compile the program once beween every reboot. It doesn't help to close down the IDE. After the first time I get the error I can delete all the files in the obj and bin folders for the project. All files are created in both folders, but I stil get the error. After this all files in the bin folder are locked until I reboot. As far as I can remember the problem started when I installed Framework 1.0 SP3, though I haven't been a very frequent user of VS on this particular computer since it's my home computer, so I'm not entirely sure. This is also the reason for sticking with VS 2002, it costs too much to upgrade, so I'd rather continue to use VS 2002. I have tried to find information about this error on the net, but nothing I've found could be applied. All projects are standard Windows applications. They are not referenced and does not reference any other dll's other than the one that are created when I create a new Windows Application project. The resulting exe and pdb files are small, 16kb and 24kb respectively. Does anyone have a clue? TIA Christian

        S Offline
        S Offline
        S Senthil Kumar
        wrote on last edited by
        #3

        1. Maybe you are running your app and it remains in memory, thereby not allowing VS to overwrite your exe. 2. Do you have enough hard disk space?

        C 1 Reply Last reply
        0
        • S S Senthil Kumar

          1. Maybe you are running your app and it remains in memory, thereby not allowing VS to overwrite your exe. 2. Do you have enough hard disk space?

          C Offline
          C Offline
          Christian Wikander
          wrote on last edited by
          #4

          I have thought about that the app may remain in memory, but I cannot find any process in the task manager that seems to be the one. I have plenty of harddisk space available. I have implemented some code to retrieve a web-page in the code of the particular project that I have trouble with. I use the code from the MSDN library under the BeginGetResponse method of the WebRequest class. When I remove this code, everything seems to be working. I'm running VS2002 with .NET Framework 1.0 SP3, in case anyone wants to try to replicate this.

          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