Access to path denied error - windows forms
VB.NET
03/08/2009 por
Cuban Pete
Hi,
We have just started getting the following error during compiles of our
forms-based application. We are developing in VS2008, VB.Net, with Team
Foundation Server-based source control.
Full error message is:
"Unable to copy file "obj\Debug\OurProjectName.xml" to
"bin\Debug\OurProjectName.xml". Access to the path
'obj\Debug\OurProjectName.xml' is denied."
This error has just started happening in our project in the last couple
days. It is intermitant and affecting all developers in our team. The
only way to get around it that we know of is to shut down/restart VS2008.
It will be fine for a few hours and then out of the blue start happening
again.
Has anyone out there had a similar experience and found a solution?
Thanks
Just an update on the issue for anyone who comes across the same thing. We
seem to have eliminated the problem but in a round-about way that we don't
quite understand. It seems as though our application had several unused
references in place which we removed (via Project Properties > References >
Unused References > Remove). One of those references was to a dll called
OurProjectName.dll located in the bin folder of the project. Why it was
there we do not know and no one can recall adding it in. Since it has been
removed the error has not occured again.
Comentários sobre o artigo
Poste um comentário >>
|