Unable to copy file "obj\Debug\.exe" to "bin\Debug\.exe". The process cannot access the file 'bin\Debug\.exe' because it is being used by another process.


please help i have open the task manager i have end the process but then also same error please help me

I am using window application

Unable to copy file "obj\Debug\.exe" to "bin\Debug\.exe". The process cannot access the file 'bin\Debug\.exe' because it is being used by another process.


please help i have open the task manager i have end the process but then also same error please help me

I am using window application

This error seems to be frustrating. Try explicitly removing the objects from memory such as using Dispose().

is the bin folder of your solution read only?

to close any form use
Apllication.Exit();

please check many instances are open in your taskmanager , may be. please end all instance of your project or form.
if your problem solved then marked it as solved.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.