使用 Visual Studio 2010,当我在短时间内构建+运行我的应用程序时,经常会收到以下错误。如果我等一两分钟再试一次就可以了。Unlocker http://www.emptyloop.com/unlocker/声称没有句柄锁定可执行文件。
我怎样才能发现是什么锁定了它?
如果是 Visual Studio 本身,我应该怎么做才能让它停止?或者释放该文件?
1>------ Build started: Project: MyProj, Configuration: Release Win32 ------
...
1>InitializeBuildStatus:
1> Creating "Release\MyProj.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> All outputs are up-to-date.
1> SomeFile1.cpp
1>ResourceCompile:
1> All outputs are up-to-date.
1>LINK : fatal error LNK1104: cannot open file 'D:\...\MyProj.exe'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.94
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
今天重装后出现这个问题。确保应用程序体验服务已启动且未设置为禁用。如果设置为手动,我相信VS会启动它。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)