Could not load file or assembly 'Microsoft.Owin.Security.OAuth' or one of its dependencies. The process can not access the file because the file is in use by another process. (Exception from HRESULT: 0x80070020)
I can't understand the reason of error
Reason for that error is: the said assembly
Microsoft.Owin.Security.OAuth is locked by some other process. Means, at current some other process already using it and your application is trying to load the same.
Most probably you application is already running and you are trying to build your solution. solution: End your application and then close and re-open your solution again.
As mentioned, this assembly 'Microsoft.Owin.Security.OAuth' is attached by some other process.Its probably because your solution is already attached with other process. Go to task manager close the operation manually and then try to build it again.
User contributions licensed under CC BY-SA 3.0