尝试运行项目时出错:无法启动程序.找不到指定的文件 [英] Error while trying to run project: Unable to start program. Cannot find the file specified

查看:48
本文介绍了尝试运行项目时出错:无法启动程序.找不到指定的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个项目运行良好,然后我重新启动了我的计算机以安装一个新的 GPU,现在当我尝试运行它时它产生了以下错误:

This project was working fine, then I restarted my computer to install a new GPU, and now it is producing the following error when I try to run it:

Error while trying to run project: Unable to start program:

"E:\Workspace\...\....exe"

Cannot find the file specified.

我已经确认提到的文件确实存在于错误消息指定的路径中.

I have confirmed that the file mentioned does exist at the path specified by the error message.

我尝试过清理解决方案"和重建解决方案".

I have tried to "Clean Solution" and "Rebuild Solution".

手动导航到可执行文件并运行它.当我在 VS2010 中按下运行"按钮时会产生上述错误.

Navigating to the executable file manually and running it works. The error above is produced when I press the "Run" button in VS2010.

有人知道为什么会发生这种情况吗?

Does anyone know why this might be happening?

推荐答案

使用 VS 管理中的修复工具修复了所有问题.

Using the repair tool in the VS Management fixed everything.

(即右键单击 Visual Studio 2010 并从 Windows 控制面板的卸载程序工具中选择更改/删除,然后在加载时单击 Visual Studio 管理窗口中的修复.)

(I.e. right click Visual Studio 2010 and select Change/Remove from the Uninstall Programs tool in the Windows Control Panel, and click Repair in the Visual Studio Management window when it loads.)

这篇关于尝试运行项目时出错:无法启动程序.找不到指定的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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