Visual Studio project not building when I click debug or press F5

前端 未结 8 1467
梦谈多话
梦谈多话 2020-12-29 18:27

VS2010 c#, winforms project.

It does not build automatically when I click on debug or press f5. If I manually build the project before I debug, it compiles and chan

8条回答
  •  离开以前
    2020-12-29 19:05

    I ran into this same issue and I did the following:

    1. Run Build Clean
    2. Close the solution
    3. Delete any .suo and .user settings files
    4. Delete any .ncb files
    5. Open the solution again
    6. Unload the project
    7. Reload the project
    8. Make sure the project is set as startup again
    9. Debug away!

    You may be able to only do steps 6-9 but I don't know how to get back in that state.

提交回复
热议问题