在调试和编译解决方案时,我开始收到以下错误消息:
While debugging and compiling a solution, I started getting the following error message:
推荐答案
嗨:)
你可以尝试一些东西摆脱这个错误。
You can try a few things to get rid of this bug.
首先,确保您的bin文件夹不是"只读";我相信你已经知道了,但要做到这一点,请转到bin文件,右键单击该文件并选择"属性"。在"属性"旁边,取消选择"只读"如果它被选中,这个应该解决你的问题。
Firstly, ensure that your bin folder is not "Read-only"; I'm sure you know already, but to do this, go to the bin file, right click the file and select 'properties'. Next to 'attributes' deselect "Read-only" if it is selected and this SHOULD solve your problem.
或者,可能是你没有以管理员身份运行Visual Studio。如果是这种情况,请务必通过右键单击其图标并选择"以管理员身份运行"来打开VS.
Alternatively, it may be that you're not running Visual Studio as an administrator. If this is the case, be sure to open VS by right clicking its icon and selecting 'run as administrator'.
重建项目。
希望这有帮助,祝你有愉快的一天:)
Hope this helped, have a nice day :)
Lucy
更多推荐
Visual Studio 2015锁定对项目的EXE文件的访问
发布评论