Error the process cannot access the file because it is being used by another process while building project by CLI on .NET Core

后端 未结 8 1303
一个人的身影
一个人的身影 2021-01-11 23:56

I got following error while running dotnet build command on my .NET Core project.

C:\\Program Files\\dotnet\\sdk\\2.1.2\\Microsoft.Common.Curre         


        
8条回答
  •  难免孤独
    2021-01-12 00:47

    A simple solution in VisualStudio Code is simply to kill the terminal.

    Afterwards restart the PowerShell or CMD terminal either by starting a new terminal in the Terminal tab (Terminal - New Terminal) or by using the shortcut Ctrl + Shift + `

提交回复
热议问题