How to configure VS to compile only changed code

前端 未结 5 2066
Happy的楠姐
Happy的楠姐 2021-02-14 01:01

I have very big solution, and it compiling every time I\'m tring to debug.
So I know that I can to disable building of all projects at all in solution configuration, but is

5条回答
  •  闹比i
    闹比i (楼主)
    2021-02-14 01:46

    I'll add this as no one has mentioned it - if you have an installer project in your solution, that project will be rebuilt every time you rebuild or run the program, even if no other projects have changed. As building installer projects can take a significant amount of time (~45 seconds on my machine, for my medium-sized project), this is a problem.

    To solve, simply go into the configuration manager (right-click solution-->properties-->configuration properties) and uncheck "build" the installer project when under debug mode.

提交回复
热议问题