V
Verane
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.
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.