VS.NET 2006 Project Build Error

G

Guest

Hi,

In my C# projects I get the following error.

Unable to copy file "obj\debug\test.exe to bin\debug\test.exe" Access to
path "bin\debug\test.exe" is denied.

I have binded the project to VSS 2006.

Any thoughts

Thanks,
 
B

Bryan Phillips

Use the process explorer utility from www.sysinternals.com to find the
process that is locking the file. I will bet that the VS IDE is locking
the file. If you restart the IDE, the problem will go away. It used to
happen a lot in VS2003 with solutions that had many C# projects in them.
It does not happen as much in VS2005. Let me know if this fixes the
problem or if it continues to be annoying.

Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top