Visual Studio 2010 doesn't rebuild changed code unless I manually select “Rebuild”

后端 未结 3 543
滥情空心
滥情空心 2020-12-02 19:56

In the past week or so, I\'ve noticed that Visual Studio 2010 is not recompiling code unless I force it to. This is a C# 4.0 project with WPF. I hit F5, which seems like it

3条回答
  •  渐次进展
    2020-12-02 20:09

    Gah, I figured this out. It was naturally something stupid I did when messing around with build settings after a too-late night. Here are the things to check:

    1. Tools >> Options >> Project and Solution >> Build and Run >> Check that "On run, when projects are out of date" is set to "Always build" or "Prompt to build"
    2. Build >> Configuration Manager >> Check that "Build" is checked for all of the projects you want to build for each of the configurations you need to use.

提交回复
热议问题