在Visual Studio中的错误,对路径的访问被拒绝路径、被拒、错误、Visual

由网友(古风)分享简介:我一直有现在这个问题一段时间。我创建了Visual Studio的一个全新的WinForms C#应用程序。我通常可以启动它在调试模式下,一旦没有问题。不过,如果我关闭它,启动它,我再次得到一个错误无法文件TestApplication.exe复制到BIN \发布\ TestApplication.exe。访问路径被拒...

我一直有现在这个问题一段时间。我创建了Visual Studio的一个全新的WinForms C#应用程序。我通常可以启动它在调试模式下,一旦没有问题。不过,如果我关闭它,启动它,我再次得到一个错误无法文件TestApplication.exe复制到BIN 发布 TestApplication.exe。访问路径被拒绝。

I've been having this problem for a while now. I created a brand new winforms c# application in Visual Studio. I can usually launch it in debug mode once without a problem. However, if I close it and launch it again I get an error "Unable to copy file TestApplication.exe to binreleaseTestApplication.exe". Access to the path is denied.

这是推动我疯了。这究竟是为什么?我注意到,该文件夹被标记为只读。然而,当我试图改变它什么也没有发生。我的经理认为,它可能是一些我已经安装了扩展的故障。我使用的是微软的电动工具以及AnkhSVN的插件。

This is driving me crazy. Why is this happening? I noticed that the folders are marked as read only. However, when I try to change it nothing happens. My manager suggested that it could be the fault of some of the extensions that I've installed. I'm using Microsoft's power tools as well as AnkhSVN plug in.

推荐答案

首先检查,看是否可以删除的EXE文件。如果你不能,这意味着一些程序上有一个手柄。

First check to see if you can delete the EXE. If you can't that means some process has a handle on it.

运行的Process Explorer 并做一个搜索TestApplication.exe找一下这是

Run Process Explorer and do a search for TestApplication.exe to find what it is

阅读全文

相关推荐

最新文章