首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >如何在visual studio解决方案中调试两个web API项目?

如何在visual studio解决方案中调试两个web API项目?
EN

Stack Overflow用户
提问于 2018-06-05 03:34:45
回答 1查看 1.5K关注 0票数 2

我有一个带有两个项目的visual studio解决方案。两者都是web (不是.net核心)。当我有一个项目时,我可以通过点击

http://localhost:53961/api/...

然而,我随后添加了第二个项目。如何开始调试第二个?它似乎没有命中断点。我得到了

No HTTP resource was found that matches the request URI

当我在main方法上设置断点时

    // GET: api/<controller>
    [HttpGet]
    public async Task<Result> Get(string emails)
    {

    }

我看到一条消息:

The breakpoint will currently not be hit. No code has been loaded for this code location.
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50687616

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档