调试目标丢失 [英] Debug target is missing

查看:120
本文介绍了调试目标丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,所以我刚刚完成了Windows 10的干净安装,我安装了VB,尝试运行一个简单的控制台应用程序并写道:

Hello, so I've just finished doing a clean install of windows 10, and I installed VB, tried to run a simple console app and wrote:

console。 writeline("aadas")

console.writeline("aadas")

console.readline()

console.readline()

看它是否有效。

For某些原因我的视觉工作室文件不在我的文档中但在onedrive中,所以我将位置更改为mydocuments,现在我收到错误说 

"Visual Studio无法启动调试,因为调试目标'c:\users\hirman\onedrive\ConsoleApp\bin\Debug\ConsoleApp1.exe'缺失。请构建项目并重试,或者相应地设置OutputPath和AssemblyName属性以指向目标程序集的
正确位置。

Just to see if it works.
For some reason my visual studio files were not in my documents but in onedrive, so i changed the location to mydocuments,and now I get an error saying 
"Visual Studio cannot start debugging because the debug target 'c:\users\hirman\onedrive\ConsoleApp\bin\Debug\ConsoleApp1.exe' is missing. Please build the project and retry, or set the OutputPath and AssemblyName properties appropriately to point at the correct location for the target assembly.

I对于VB来说还是比较新的,所以如果我能得到一些解决这个问题的帮助,那就太棒了,谢谢!

I'm fairly new to VB so if i could get some help with resolving this issue that would be great, thank you!

推荐答案

我想我修好了,你好b $ b

I think i fixed it tho,

我开始了清理项目"Visual Basic,console app.NET"并在将目录打开到上面列出的目录之前更改了目录,它现在有一个consoleApp.exe,所以如果any1有同样的问题,这可能会有效。

I started a clean project "Visual Basic, console app.NET" and changed the directory before opening it to the one listed above, and it now has a consoleApp.exe in it, so if any1 has the same problems this might work.


这篇关于调试目标丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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