G
Guest
I have a VS 2003 C# project, web app with a bunch of DLL's. When I compile
my project I often times get this message:
Unexpected error creating debug information file 'C:\DevProjects\Allstar
Admin\Allstar.Common.DataAccess\obj\Debug\Allstar.Common.DataAccess.PDB' --
'C:\DevProjects\Allstar
Admin\Allstar.Common.DataAccess\obj\Debug\Allstar.Common.DataAccess.pdb: The
process cannot access the file because it is being used by another process.
'
If I exit Visual Studio and delete the obj directory under the DLL giving me
problems and they reload VS it works fine, but this is not a very good
solution.
I have read posts that say to change to Release from Debug and back but that
is only temporary too and does not always work.
Obviously DEVENV.EXE has ahold of my DLL. Any ideas how to fix this with
compiler settings or code changes to be aware of?
I have also read to not have Enums inside my class, I did, and moved them to
just inside the namespace but that did not help either.
Finally, my project consists of a few User Controls which use this DLL. I
cannot determine when the error starts, I may do a build 10 times with no
problem but number 11 will be the problem, other times it takes 5 builds.
Thank you in advance,
Rob Bazinet
my project I often times get this message:
Unexpected error creating debug information file 'C:\DevProjects\Allstar
Admin\Allstar.Common.DataAccess\obj\Debug\Allstar.Common.DataAccess.PDB' --
'C:\DevProjects\Allstar
Admin\Allstar.Common.DataAccess\obj\Debug\Allstar.Common.DataAccess.pdb: The
process cannot access the file because it is being used by another process.
'
If I exit Visual Studio and delete the obj directory under the DLL giving me
problems and they reload VS it works fine, but this is not a very good
solution.
I have read posts that say to change to Release from Debug and back but that
is only temporary too and does not always work.
Obviously DEVENV.EXE has ahold of my DLL. Any ideas how to fix this with
compiler settings or code changes to be aware of?
I have also read to not have Enums inside my class, I did, and moved them to
just inside the namespace but that did not help either.
Finally, my project consists of a few User Controls which use this DLL. I
cannot determine when the error starts, I may do a build 10 times with no
problem but number 11 will be the problem, other times it takes 5 builds.
Thank you in advance,
Rob Bazinet