I get the following error in Visual Studio 2005 when building a build:
Error 9 Unable to register assembly "E: \ CSharp \ Project \ Some.Assembly.dll" - access is denied. Access denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) project
This only happens intermittently and goes away if I restart the IDE, but it is incredibly annoying and I would like to stop it if I can. I checked the assembly itself and it is not read-only, so I donβt know why Visul Studio gets the lock. I am working in debug mode.
I looked at google but cannot find anything but "restart VS". Does anyone have any suggestions on how I can solve this unpleasant problem?
source share