When I delete any file from an asp.net mvc project (project not in svn or any source control provider) it takes upto 60 seconds for the UI to become responsive again. CPU usage jumps to 80/90%. Has anyone else experienced this and know of any fix or solution?
当我从asp.net mvc项目中删除任何文件(项目不在svn或任何源控件提供程序中)时,UI需要60秒才能再次响应。 CPU使用率跃升至80/90%。有没有其他人经历过这个并知道任何修复或解决方案?
3 个解决方案
#1
0
Yes, I had similar issue. Just empty your recycle bin and it'll start deleting files snappy again.
是的,我有类似的问题。只需清空您的回收站,它就会再次开始删除文件。
HTH
#2
1
Do you mean deleting a file from Visual Studio solution? If so, the fix is to empty your Windows recycle bin.
您是指从Visual Studio解决方案中删除文件吗?如果是这样,修复程序是清空Windows回收站。
#3
0
If you're talking about the running website trying to delete a file, then do your file delete in a separate thread.
如果您正在谈论正在运行的网站尝试删除文件,那么请在单独的线程中删除文件。
If you're talking about deleting a source file, I have had that problem a few years ago. I don't remember what the fix was, but I don't think it's in the latest Visual Studio (which you're probably using if your doing MVC)
如果您正在谈论删除源文件,几年前我就遇到过这个问题。我不记得修复是什么,但我不认为它是在最新的Visual Studio中(如果你在做MVC,你可能会使用它)
#1
0
Yes, I had similar issue. Just empty your recycle bin and it'll start deleting files snappy again.
是的,我有类似的问题。只需清空您的回收站,它就会再次开始删除文件。
HTH
#2
1
Do you mean deleting a file from Visual Studio solution? If so, the fix is to empty your Windows recycle bin.
您是指从Visual Studio解决方案中删除文件吗?如果是这样,修复程序是清空Windows回收站。
#3
0
If you're talking about the running website trying to delete a file, then do your file delete in a separate thread.
如果您正在谈论正在运行的网站尝试删除文件,那么请在单独的线程中删除文件。
If you're talking about deleting a source file, I have had that problem a few years ago. I don't remember what the fix was, but I don't think it's in the latest Visual Studio (which you're probably using if your doing MVC)
如果您正在谈论删除源文件,几年前我就遇到过这个问题。我不记得修复是什么,但我不认为它是在最新的Visual Studio中(如果你在做MVC,你可能会使用它)