By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,426 Members | 2,753 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,426 IT Pros & Developers. It's quick & easy.

Could not copy temporary files to the output directory

P: n/a
Hi,
I have read the thread named "Could not copy temporary files to the
output directory" on this newsgroup. And I have the same symptoms on
my machine. But I didn't find any solution suitable for me. (I don't
use ASP.NET or any web service at all, only windows forms).

Here is how I work :
I have a solution with 10 projects inside. Each of them is built in a
different directory (MyProject/bin/debug for each project). I have
then a post-build event that copy all those dlls in a single directory
called M:\bin.
(I have done that to avoid compiling all my projects in the same
directory, and because I need them to be in a unique directory to be
able to debug).
Each project has some references on assemblies that come either from
the same solution or from third party components. In each case I set
the reference by brwosing the dll in M:\bin and not using a 'project
reference'.
I always set 'local copy' to true.

the problem is that I randomly get errors that my dll could not been
copied in the output directory or I also get some 'post-build event
failed' when I do re-built.
I sometimes also get the same kind of errors about the .pdb files.

At the moment I do the rebuilt, my application is not runnig. Often I
have those problems just after having opened visual studio, even
before I have run my application once.

The only solution I have found for the moment is to close Visual
Studio, delete the .dll or .pdb and re open visual studio... This is
very annoying, because it takes a long time to open the solution...
Is there something I do wrong ?? Is there a workaround ??

Any help will be appreciated !
Thanks,
Verane.
Nov 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
It is my nightmare. Today I got this error seven times... While closing
VS.NET it gives an error message and ask me to report this bug.... Restarts
VS.NET, and then everything works fine for a while...

--
Thanks,
Yunus Emre ALP÷ZEN

"Verane" <ve************@varianinc.com> wrote in message
news:5b**************************@posting.google.c om...
Hi,
I have read the thread named "Could not copy temporary files to the
output directory" on this newsgroup. And I have the same symptoms on
my machine. But I didn't find any solution suitable for me. (I don't
use ASP.NET or any web service at all, only windows forms).

Here is how I work :
I have a solution with 10 projects inside. Each of them is built in a
different directory (MyProject/bin/debug for each project). I have
then a post-build event that copy all those dlls in a single directory
called M:\bin.
(I have done that to avoid compiling all my projects in the same
directory, and because I need them to be in a unique directory to be
able to debug).
Each project has some references on assemblies that come either from
the same solution or from third party components. In each case I set
the reference by brwosing the dll in M:\bin and not using a 'project
reference'.
I always set 'local copy' to true.

the problem is that I randomly get errors that my dll could not been
copied in the output directory or I also get some 'post-build event
failed' when I do re-built.
I sometimes also get the same kind of errors about the .pdb files.

At the moment I do the rebuilt, my application is not runnig. Often I
have those problems just after having opened visual studio, even
before I have run my application once.

The only solution I have found for the moment is to close Visual
Studio, delete the .dll or .pdb and re open visual studio... This is
very annoying, because it takes a long time to open the solution...
Is there something I do wrong ?? Is there a workaround ??

Any help will be appreciated !
Thanks,
Verane.

Nov 19 '05 #2

P: n/a
I also have the problem with copying assemblies from time to time. I think
this problem appears because the Visual Studio somehow finds out that another
process is using the dll and it cannot access it to replace with the newly
compiled code. It' s quite amusing because no other process has locked the
dll and after restarting the Visual Studio, the problem disappears. I think
this is bug of the studio and I don't think there is a workaround for it.

"Verane" wrote:
Hi,
I have read the thread named "Could not copy temporary files to the
output directory" on this newsgroup. And I have the same symptoms on
my machine. But I didn't find any solution suitable for me. (I don't
use ASP.NET or any web service at all, only windows forms).

Here is how I work :
I have a solution with 10 projects inside. Each of them is built in a
different directory (MyProject/bin/debug for each project). I have
then a post-build event that copy all those dlls in a single directory
called M:\bin.
(I have done that to avoid compiling all my projects in the same
directory, and because I need them to be in a unique directory to be
able to debug).
Each project has some references on assemblies that come either from
the same solution or from third party components. In each case I set
the reference by brwosing the dll in M:\bin and not using a 'project
reference'.
I always set 'local copy' to true.

the problem is that I randomly get errors that my dll could not been
copied in the output directory or I also get some 'post-build event
failed' when I do re-built.
I sometimes also get the same kind of errors about the .pdb files.

At the moment I do the rebuilt, my application is not runnig. Often I
have those problems just after having opened visual studio, even
before I have run my application once.

The only solution I have found for the moment is to close Visual
Studio, delete the .dll or .pdb and re open visual studio... This is
very annoying, because it takes a long time to open the solution...
Is there something I do wrong ?? Is there a workaround ??

Any help will be appreciated !
Thanks,
Verane.

Nov 19 '05 #3

P: n/a
I think this is the problem you are experiencing.

http://support.microsoft.com/kb/313512

I was experiencing the same problem then I found this hotfix:

http://support.microsoft.com/default...b;en-us;843370

I do use source safe, but this stopped all my problems. Problems I didn't
think were related to source safe.

bill
"Verane" <ve************@varianinc.com> wrote in message
news:5b**************************@posting.google.c om...
Hi,
I have read the thread named "Could not copy temporary files to the
output directory" on this newsgroup. And I have the same symptoms on
my machine. But I didn't find any solution suitable for me. (I don't
use ASP.NET or any web service at all, only windows forms).

Here is how I work :
I have a solution with 10 projects inside. Each of them is built in a
different directory (MyProject/bin/debug for each project). I have
then a post-build event that copy all those dlls in a single directory
called M:\bin.
(I have done that to avoid compiling all my projects in the same
directory, and because I need them to be in a unique directory to be
able to debug).
Each project has some references on assemblies that come either from
the same solution or from third party components. In each case I set
the reference by brwosing the dll in M:\bin and not using a 'project
reference'.
I always set 'local copy' to true.

the problem is that I randomly get errors that my dll could not been
copied in the output directory or I also get some 'post-build event
failed' when I do re-built.
I sometimes also get the same kind of errors about the .pdb files.

At the moment I do the rebuilt, my application is not runnig. Often I
have those problems just after having opened visual studio, even
before I have run my application once.

The only solution I have found for the moment is to close Visual
Studio, delete the .dll or .pdb and re open visual studio... This is
very annoying, because it takes a long time to open the solution...
Is there something I do wrong ?? Is there a workaround ??

Any help will be appreciated !
Thanks,
Verane.

Nov 19 '05 #4

P: n/a
I couldn't download hotfix. Microsoft web site gives an error message. Is it
possible to send me this patch?

--
Thanks,
Yunus Emre ALP÷ZEN

"William F. Robertson, Jr." <th****@nameht.org> wrote in message
news:u8**************@TK2MSFTNGP15.phx.gbl...
I think this is the problem you are experiencing.

http://support.microsoft.com/kb/313512

I was experiencing the same problem then I found this hotfix:

http://support.microsoft.com/default...b;en-us;843370

I do use source safe, but this stopped all my problems. Problems I didn't
think were related to source safe.

bill
"Verane" <ve************@varianinc.com> wrote in message
news:5b**************************@posting.google.c om...
Hi,
I have read the thread named "Could not copy temporary files to the
output directory" on this newsgroup. And I have the same symptoms on
my machine. But I didn't find any solution suitable for me. (I don't
use ASP.NET or any web service at all, only windows forms).

Here is how I work :
I have a solution with 10 projects inside. Each of them is built in a
different directory (MyProject/bin/debug for each project). I have
then a post-build event that copy all those dlls in a single directory
called M:\bin.
(I have done that to avoid compiling all my projects in the same
directory, and because I need them to be in a unique directory to be
able to debug).
Each project has some references on assemblies that come either from
the same solution or from third party components. In each case I set
the reference by brwosing the dll in M:\bin and not using a 'project
reference'.
I always set 'local copy' to true.

the problem is that I randomly get errors that my dll could not been
copied in the output directory or I also get some 'post-build event
failed' when I do re-built.
I sometimes also get the same kind of errors about the .pdb files.

At the moment I do the rebuilt, my application is not runnig. Often I
have those problems just after having opened visual studio, even
before I have run my application once.

The only solution I have found for the moment is to close Visual
Studio, delete the .dll or .pdb and re open visual studio... This is
very annoying, because it takes a long time to open the solution...
Is there something I do wrong ?? Is there a workaround ??

Any help will be appreciated !
Thanks,
Verane.


Nov 19 '05 #5

P: n/a
Could you open the second link? On the page it instructs to call MS to get
this hotfix.

Here is the phone number you will need to call to get this fix. It is a
free support call. They like to monitor the hotfixes and who is downloading
them. It is not possible to download the hotfix without contacting them.

800.936.5800

Give them the KB article 843370.

They are really nice on the phone and helpful. The first call took about 5
minutes, and within an hour I had the patch.

HTH,

bill

"Yunus Emre ALP÷ZEN" <ye***@msakademik.net> wrote in message
news:uz**************@TK2MSFTNGP11.phx.gbl...
I couldn't download hotfix. Microsoft web site gives an error message. Is it possible to send me this patch?

--
Thanks,
Yunus Emre ALP÷ZEN

"William F. Robertson, Jr." <th****@nameht.org> wrote in message
news:u8**************@TK2MSFTNGP15.phx.gbl...
I think this is the problem you are experiencing.

http://support.microsoft.com/kb/313512

I was experiencing the same problem then I found this hotfix:

http://support.microsoft.com/default...b;en-us;843370

I do use source safe, but this stopped all my problems. Problems I didn't think were related to source safe.

bill
"Verane" <ve************@varianinc.com> wrote in message
news:5b**************************@posting.google.c om...
Hi,
I have read the thread named "Could not copy temporary files to the
output directory" on this newsgroup. And I have the same symptoms on
my machine. But I didn't find any solution suitable for me. (I don't
use ASP.NET or any web service at all, only windows forms).

Here is how I work :
I have a solution with 10 projects inside. Each of them is built in a
different directory (MyProject/bin/debug for each project). I have
then a post-build event that copy all those dlls in a single directory
called M:\bin.
(I have done that to avoid compiling all my projects in the same
directory, and because I need them to be in a unique directory to be
able to debug).
Each project has some references on assemblies that come either from
the same solution or from third party components. In each case I set
the reference by brwosing the dll in M:\bin and not using a 'project
reference'.
I always set 'local copy' to true.

the problem is that I randomly get errors that my dll could not been
copied in the output directory or I also get some 'post-build event
failed' when I do re-built.
I sometimes also get the same kind of errors about the .pdb files.

At the moment I do the rebuilt, my application is not runnig. Often I
have those problems just after having opened visual studio, even
before I have run my application once.

The only solution I have found for the moment is to close Visual
Studio, delete the .dll or .pdb and re open visual studio... This is
very annoying, because it takes a long time to open the solution...
Is there something I do wrong ?? Is there a workaround ??

Any help will be appreciated !
Thanks,
Verane.



Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.