When I try to build my ASP.NET project in Visual Studio 2019 I get the following error:
Error Could not copy the file "obj\Debug[Project-Name].dll" because it was not found. Project-name
This is most probably bug in VS2019. According to some comments on https://developercommunity.visualstudio.com/content/problem/519499/could-not-copy-the-file-objx64debugmanagementexe-b.html it helps to unload and reload the project. It helped for me.