在 Visual Studio 中设置但尚未绑定的断点 [英] Breakpoints set but not yet bound in Visual Studio
问题描述
运行 Visual Studio Community 2017.创建了一个 WebAPI 项目,在那里有一个控制器类,有一些基本的东西,但是当我在调试模式下运行时,我的断点出现以下错误,但我没有最模糊的想法为什么.
Running Visual Studio Community 2017. Created a WebAPI project, have a controller class in there, with some basic stuff, but when I go to run in debug mode, I get the following error on my breakpoints, and I haven't the foggiest idea why.
当前不会命中断点.断点已设置但尚未绑定.
我在这里和那里看到了一些答案,但它们没有帮助,或者它们是关于 Visual Studio Code,我绝对没有使用.
I've seen a few answers here and there, but they don't help, or they're about Visual Studio Code, which I am definitely not using.
我发现了这个,但它没有'告诉我如何处理我的问题.我该如何解决这个问题?
I found this, but it doesn't tell me what to do about my problem. How do I fix this issue?
推荐答案
尝试将您的 Web 项目设置为默认值 启动项目.
Try setting your web project as default Startup Project.
这篇关于在 Visual Studio 中设置但尚未绑定的断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!