【发布时间】:2017-08-26 18:07:14
【问题描述】:
突然我无法在 VS 2017 中重建我的项目。我收到以下消息:
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4222,5): error MSB3021: Unable to copy file "C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\.NETFramework\v4.0\4.4.1.0\FSharp.Core.dll" to "bin\Debug\FSharp.Core.dll". Access to the path 'bin\Debug\FSharp.Core.dll' is denied.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(4222,5): error MSB3021: Unable to copy file "H:\Dropbox\BitBucket\VSProjects\Fractal10\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll" to "bin\Debug\Newtonsoft.Json.dll". Access to the path 'bin\Debug\Newtonsoft.Json.dll' is denied.
关于如何解决这个问题有什么建议吗?
【问题讨论】:
-
您是否尝试重新启动 Visual Studio?
-
我做到了。我已经安装了最新的更新,现在恐怕我安装的版本是15.3.2,更新是15.4.1。
-
该解决方案以前是否有效?您是否进行了任何软件包更新?
-
我重新启动并解决了问题。非常非常感谢。
-
不客气,欢迎来到 Visual Studio 2017。:D
标签: visual-studio compiler-errors f#