【发布时间】:2018-01-04 21:17:59
【问题描述】:
我有一个引用 .NET Framework 的 asp.net 核心项目,我正在使用 Visual Studio 2017 Enterprise。当我尝试构建我的解决方案时,我遇到了这个错误:
Unable to copy file "obj\Debug\net461\MyProject.exe" to "bin\Debug\net461\MyProject.exe".
Access to the path 'bin\Debug\net461\MyProject.exe' is denied.
即使我清理了解决方案并重新构建,我仍然有这个错误。
有人遇到过这个错误吗?
【问题讨论】:
-
您可能正在运行该程序。你需要杀死它。
标签: c# asp.net visual-studio asp.net-core visual-studio-2017