Visual Studio发布失败:“无法删除文件...对路径的访问...被拒绝." [英] Visual Studio Publish Failed: "Unable to delete file ... Access to the path ... is denied."
问题描述
我最近已从Windows XP计算机切换到Windows7.我使用Subversion和TortoiseSVN.
I've recently switched from a Windows XP machine to Windows 7. I use Subversion and TortoiseSVN.
我无法在Visual Studio中发布.NET应用程序.我收到超过一千个这样的错误:
I cannot publish my .NET application in Visual Studio. I get over a thousand errors like this:
无法删除文件 "obj \ Debug \ Package \ PackageTmp \ Views \ ViewName.svn \ text-base \ ActionName.aspx.svn-base". 进入路径 'C:\ Code \ SolutionName \ ProjectName \ obj \ Debug \ Package \ PackageTmp \ Views \ ViewName.svn \ text-base \ ActionName.aspx.svn-base' 被拒绝.
Unable to delete file "obj\Debug\Package\PackageTmp\Views\ViewName.svn\text-base\ActionName.aspx.svn-base". Access to the path 'C:\Code\SolutionName\ProjectName\obj\Debug\Package\PackageTmp\Views\ViewName.svn\text-base\ActionName.aspx.svn-base' is denied.
为什么Subversion给我带来麻烦?我该如何解决?
Why is Subversion giving me trouble? How do I fix it?
我禁用了bin和obj文件夹的文件索引.但是,那没用.
I disabled the file indexing of my bin and obj folders. But, that didn't work.
推荐答案
我注意到我的文件夹是只读的.我改变了.
I noticed that my folders were read-only. I changed that.
成功了!发布成功.
这篇关于Visual Studio发布失败:“无法删除文件...对路径的访问...被拒绝."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!