Winform应用程序中的MyProject.exe.locked [英] MyProject.exe.locked in Winform application

查看:62
本文介绍了Winform应用程序中的MyProject.exe.locked的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发vs 2010 Winform应用程序。当我第一次构建应用程序时,我成功构建了它。但是,无论什么时候我要构建应用程序,它都会向我显示错误



我自上次几天谷歌这个错误但没有得到任何解决方案。即使我尝试卸载VS2010并重新安装VS2010 ..但问题仍然保持不变。甚至我也尝试了另一个同一个项目的副本,这个副本在2个月前就已经备份了我不知道它也有同样的问题



我检查我的解决方案文件夹...它显示.exe.locked ???为什么它是



然后最后我还检查了TaskMnager,如果有任何文件用我的解决方案名称打开..但没有任何东西。



帮我解决这个错误

I am developing vs 2010 Winform application. When I build the application very first time I it built successfully. But, after all the time whenever I am going to build the application it showing me the error

I google this error since last few days but not getting any solution for this. Even I try uninstalling VS2010 and Re-Installing VS2010.. but problme still remain same. Even I also try another copy of my same project which was backup 2 months before; I wonder it has also same problem

I check my solution folder ... It showing .exe.locked ??? why it is

Then finally I also checked for TaskMnager if any file open with my solution Name.. but there are nothing anything.

Help me from this error

推荐答案

这是一个众所周知的 - 非常讨厌! - Visual Studio的问题,在设计器打开的情况下运行项目会间歇性地锁定输出文件。



此StackOverflow问题 [ ^ ]从2010年开始引用2006年关于此问题的(现已删除)博客文章。



该线程中有各种建议使用项目的构建事件来解决问题。我还没有看到这个问题的正式修复,虽然在最新版本的VS中似乎没有那么多。
This is a known - and very annoying! - problem with Visual Studio, where running the project with a designer open intermittently locks the output file.

This StackOverflow question[^] from 2010 references a (now deleted) blog post from 2006 regarding this issue.

There are various suggestions in that thread to work around the problem using the project's build events. I have yet to see an official "fix" for the problem, although it doesn't seem to happen as much in recent version of VS.


这篇关于Winform应用程序中的MyProject.exe.locked的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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