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

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

问题描述

我正在远程机器上开发 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 "objDebugmyprojname.pdb" to "binmyprojname.pdb". Access to the path 'binmyprojname.pdb' is denied.

项目在 SVN 下.我删除了 objDebugmyprojname.pdb 并尝试再次运行但得到相同的错误.我试图从文件夹中删除只读,但单击确定后,它再次变为只读(我猜是因为 SVN).

Project is under SVN. I deleted the objDebugmyprojname.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天全站免登陆