Error in asp.net mvc application

1

I have the error below and I do not know how to solve it.

Does anyone have any idea what it can be and how to solve it?

  

Severity Code Description Project File Line Suppression State   Error Unable to copy file "C: \ WORK \ 1-Files   Personal \ Shopping Cart \ packages \ Microsoft.Net.Compilers.2.1.0 \ tools \ System.Diagnostics.FileVersionInfo.dll "   to "bin \ roslyn \ System.Diagnostics.FileVersionInfo.dll". Access to the   path 'bin \ roslyn \ System.Diagnostics.FileVersionInfo.dll' is   denied Shopping Cart.UI

    
asked by anonymous 23.11.2017 / 13:08

1 answer

1

When I had this problem, I solved it by finishing the process VBCSCompiler.exe and everything returned to normal.

But after the latest Visual Studio updates I did not have this problem anymore.

To end the process, you can run the taskkill /F /IM VBCSCompiler.exe command in cmd, or look up the process in the Windows task manager.

    
23.11.2017 / 13:20