相关疑难解决方法(0)

链接:致命错误LNK1104:无法打开文件'D:\ ...\MyProj.exe'

使用Visual Studio 2010,当我在短时间内构建+运行我的应用程序时,我经常会收到以下错误.如果我等一两分钟再试一次就可以了.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 ==========
Run Code Online (Sandbox Code Playgroud)

executable locking visual-studio-2010 visual-studio

49
推荐指数
5
解决办法
11万
查看次数