Visual Studio 2015锁定对项目的EXE文件的访问

编程入门 行业动态 更新时间:2024-10-24 16:33:49
本文介绍了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文件的访问

本文发布于:2023-11-10 06:29:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1574609.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   项目   Studio   Visual   EXE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!