Usman Khalid Usman Khalid - 3 years ago 86
C# Question

Visual Studio Nuget unable to install any package

I am using Visual Studio 2017 and While trying download even the simplest package, I am getting Following error:

Error downloading 'EntityFramework.6.1.3' from
''. The
process cannot access the file
because it is being used by another process. Time Elapsed:
00:01:03.5336627 ========== Finished

Answer Source

I solved my problem by uninstalling the visual studio and then reinstall it to make it work. 3 hours wasted.

EDIT: Again got the error but this time I was lucky. There was one process VBCSCompiler.exe. I had to kill it manually using Window Task Manager and it starts working. I don't know this will work for others but it worked for me so just sharing it.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download