无法复制文件。访问路径被拒绝 [英] Unable to copy file. Access to the path is denied

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

问题描述

我的工作远程机器上asp.net 3.5项目。我使用远程桌面访问它。当我建这个项目时,我得到错误:

I am working on asp.net 3.5 project on remote machine. I am accessing it using remote desktop. When I build the project, I get error:

Error   62  Unable to copy file "obj\Debug\myprojname.pdb" to "bin\myprojname.pdb". Access to the path 'bin\myprojname.pdb' is denied.

Project是SVN之下。我删除了OBJ \\调试\\ myprojname.pdb,并试图再次,但得到同样的错误运行。我试图从文件夹中删除thereadonly但点击确定后,它将再次变为只读(我猜是因为SVN)的。

Project is under SVN. I deleted the obj\Debug\myprojname.pdb and tried to run again but getting same error. I am trying to remove thereadonly from the folder but after clicking ok, It becomes readonly again ( i guess because of SVN).

推荐答案

我从bin文件夹删除有争议的文件并重建项目解决了这个问题。

I solved this problem by deleting the contentious files from bin folder and rebuilding the project.

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

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