Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Unable to copy file "obj\Debug\MyAddin1.dll" to "bin\MyAddin1.dll". The process cannot access the file 'bin\MyAddin1.dll' because it is being used by another process.
Posted

Dear Balavino,

If you have another instance of visual studio open which is referencing the Add-In you will get this error. Make sure you either have it set not to load on application start or close the other instance.

If that still does not work, close all instances of the IDE and delete the dll through Windows Explorer.

OR

try holding down the Shift key while starting Visual Studio. If you have an Add-in set to load on startup, we first check to see if the Shift key is down. If it is, then we will skip loading that Add-in.


Hope this will help you out.

Thanks
 
Share this answer
 
Hi,

it seems like some other running application pointing to your bin directory MyAddin1.dll or you have installed this addin to your application (application for you are creating addins).

first of all you need to check which application is using this addins.


thanks
-amit.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900