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

后端 未结 3 558
滥情空心
滥情空心 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:28

    Had similar issue in 2020 with VS 2019 (Community Edition) and WPF project not being rebuilt (deemed as "up-to-date") even though the referenced project was rebuilt. The above advice (Tools->Options and Configuration Manager) is met in many places, though didn't work for me.

    Eventually changing .csproj file and adding the following line (under ProertyGroup) worked for me:

    true
    

提交回复
热议问题