无法复制文件-拒绝访问路径 [英] Unable to copy file - access to the path is denied

查看:275
本文介绍了无法复制文件-拒绝访问路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio2005。首先从版本控制中获取代码之后,c#.net应用程序
可以正确运行。但是,在进行一些修改之后,在构建时出现以下错误:

I am using Visual Studio 2005. After taking code from version control first, the c#.net application runs correctly. But, after doing some modifications, when I build I am getting the following error:


错误383无法复制文件 ..\根叶 Bin调试 test.Resources.xml到
Bin调试 test.Resources.xml。
被拒绝访问 Bin\Debug\test.Resources.xml路径。 li.rollmodel

Error 383 Unable to copy file "..\root\leaf\Bin\Debug\test.Resources.xml" to "Bin\Debug\test.Resources.xml". Access to the path 'Bin\Debug\test.Resources.xml' is denied. li.rollmodel

有人知道为什么发生此问题吗?

Does anybody know why this issue is occurring?

编辑,我可以看到我的整个项目源代码文件夹均为只读文件夹,并且无法删除该只读属性。

Edit I can see that my entire project source code folder is Read-only, and I am not able to remove the read-only property.

首先,有人可以告诉我如何删除此文件夹的只读属性吗?我尝试将其删除,但只读属性仍然存在。我也从版本控制方面进行了尝试,但是也没有用。

First, can anybody tell me how to remove the Read-only property for this folder? I have tried removing it but the read-only property persists. I tried from the version-control side also and that did not work, either.

推荐答案

请确保该文件夹不是只读并重建解决方案

Just make sure that the folder is NOT Read-Only and rebuild the solution

这篇关于无法复制文件-拒绝访问路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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