Unable to copy file, Access to the path is denied

I am using visual studio 2005 after taking code from version control first run c#.net application correctly, but after doing some modification, when I build I am getting an error like this.

Error 383 Unable to copy file "..rootleafBinDebugtest.Resources.xml" to "BinDebugtest.Resources.xml". Access to the path 'BinDebugtest.Resources.xml' is denied. li.rollmodel

Does any body know why this issue is coming?

Edit I can see my complete project source code physical folder is Read-only, I am not able to remove that readonly property

First any body tell me how to remove Read-only property for a folder I have removed but still it showing that one, I tried from version control side also but same effect.


我通过从bin文件夹中删除有争议的文件并重建项目来解决此问题。


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


I solved this problem: Close Visual Studio, open it again and load the solution, Rebuild your solution. My problem occurred using TFS and VIsual Studio 2010.

链接地址: http://www.djcxy.com/p/44212.html

上一篇: 安装在Visual Studio中创建的Windows服务

下一篇: 无法复制文件,对路径的访问被拒绝