链接:致命错误 LNK1104:无法打开文件“D:...MyProj.exe" [英] LINK : fatal error LNK1104: cannot open file 'D:...MyProj.exe'

查看:57
本文介绍了链接:致命错误 LNK1104:无法打开文件“D:...MyProj.exe"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 Visual Studio 2010,当我在短时间内构建和运行我的应用程序时,我经常收到以下错误.如果我等一两分钟再试一次,它工作正常.Unlocker 声称没有句柄正在锁定可执行文件.
我怎样才能发现是什么锁定了它?
如果是 Visual Studio 本身,我该怎么做才能让它停止?或者释放文件?

Using Visual Studio 2010, when I build + run my application in short intervals I often get the following error. If I just wait a minute or two and try again it works fine. Unlocker claims no handle is locking the executable file.
How can I discover what's locking it?
If it's Visual Studio itself, what should I do to make it stop? or alternatively to release the file?

1>------ Build started: Project: MyProj, Configuration: Release Win32 ------
...
1>InitializeBuildStatus:
1>  Creating "ReleaseMyProj.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会启动它.

Had this issue after a reinstall today. Make sure the Application Experience service is started and not set to disabled. If its set to manual, I believe VS will start it.

这篇关于链接:致命错误 LNK1104:无法打开文件“D:...MyProj.exe"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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