I have an ASP.NET Core application. I launch the application by running the command
dotnet run
I see the following error in one of five situations when creating this ASP.NET Core application.
C: ... \ error CS2012: Unable to open "C: ... \ bin \ Debug \ netcoreapp1.0 \ AAA.Web.dll" for writing - "The process cannot access the file" C: ... \ "bin \ Debug \ netcoreapp1.0 \ AAA.Web.dll 'because it is being used by another process.'
In addition to the above problem, I also do not see the updates I am doing in the CSHTML file. I have to stop dotnet run , build the application again, and then start dotnet run .
How can I fix these problems?

source share