Visual Studio Comunity 2017 [英] Visual Studio Comunity 2017
问题描述
您好,我是如何解决这个问题的,这个问题是在我点击(Windows本地调试器)后显示的。
Hello, How I solve this problem, This problem is show after I click on (windows local debugger).
问题是: 首先:"有错误。你想继续并运行最后一次成功的构建吗? "
The problem is : First: " There were errors. Would you like to continue and run the last successful build? "
第二,我犯罪后(是): "无法启动程序'c:\users \ My-pc \documents \ visual studio 2017 \projects\ConsoleApplication11 \Debug\ConsoleApplication11.exe'。系统找不到指定的文件。
Second ,After I cilck (yes): " Unable to start program 'c:\users\My-pc\documents\visual studio 2017\projects\ConsoleApplication11\Debug\ConsoleApplication11.exe'.The system cannot find the file specified.
推荐答案
Hi Moaaz101,
欢迎来到MSDN论坛。
对于错误消息"系统找不到指定的文件。",有很多可能的原因,请尝试使用以下内容来解决此问题:
- 转到解决方案资源管理器并确保当前项目是启动项目
- 请先清理并构建解决方案,并检查输出窗口,确保项目编译正确。再次调试。
- 右键单击项目名称>属性>链接器>一般>输出文件并确认显示
- Go to Solution Explorer and make sure your current project is the startup project
- Please clean and build your solution firstly, and check the output window, make sure that the project compiled correctly. Debug it again.
- Right click the project name > Properties > Linker > General > Output File and confirm it displays
(OutDir)
(TargetName)
(TargetName)
这篇关于Visual Studio Comunity 2017的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!