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