c# - Unable to copy file .exe in Visual Studio 2017 -


i have asp.net core project references .net framework , i'm using visual studio 2017 enterprise. when try build solution, came across error:

unable copy file "obj\debug\net461\myproject.exe" "bin\debug\net461\myproject.exe".  access path 'bin\debug\net461\myproject.exe' denied. 

even if cleaned solution , build again, still have error.

anyone faced error?

go task manager , microsoftvshost.exe , kill them all. though stop debugging exe can continue run in background. causes lock on file.


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -