Visual Studio Debugging/Building

Visual Studio Debugging/Building

南冥有猫 发布于 2021-11-24 字数 443 浏览 781 回复 4 原文

I have a solution that has a plain old website and a winforms app.

I have the winforms app set as my startup application.

When I press (CTRL+)F5, it just runs the app without building. So, my changes aren't built into the program.

What should I do to fix this?


I don't want to have to go to the build menu and then debug. I want a single step.


This is VS 2008 SP1

如果你对这篇文章有疑问,欢迎到本站 社区 发帖提问或使用手Q扫描下方二维码加群参与讨论,获取更多帮助。



需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。


反目相谮 2022-06-07 4 楼

in visual studio,go to tools,import and export settings,reset.
hope this might help

时光与爱终年不遇 2022-06-07 3 楼

You can use CTRL+SHIFT+B for building before hitting F5. Thats not a single step, but it's not using the mouse.

But it sure seems strange that it does not compile first if there are changes. It use to do that here at my computer.

国产ˉ祖宗 2022-06-07 2 楼

Build->Build Solution (press F6)

For direct debugging (press F5)

海的爱人是光 2022-06-07 1 楼

I had to go into the properties for my solution and select the projects that I want to include during builds.