Visual Studio 2015锁定对项目的EXE文件的访问 [英] Visual Studio 2015 Lock Access to Project's EXE file

查看:146
本文介绍了Visual Studio 2015锁定对项目的EXE文件的访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在调试和编译解决方案时,我开始收到以下错误消息: 

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文件的访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆