Why does VS have to rebuild ALL of my projects every time I hit “Play”?

后端 未结 6 1915
迷失自我
迷失自我 2021-02-05 15:45

Do I have some weird setting that is making this happen? I only want to change the text of a message box (and no other assemblies depend on that one) yet VS rebuilds all of my

6条回答
  •  醉话见心
    2021-02-05 16:06

    It's also possible to change the setting 'On Run, when projects are out of date' to 'Never Build' instead of 'Ask'. (its in the menu 'Tools -> Options -> Projects & Solutions -> Build & Run) This way, you'd need to press F6 every time you make a change to build the out-of-date projects, but at least it will allow you to debug with F5 without the recompile.

    I have to say this is not ideal, but it's something. There was one issue though I had while using casini: The app-pool didn't recyle every time I press F5 because casini keeps running. You will have to manually stop casini from the icontray when you encouter problems but it's a major time-saver in contrast to rebuilding the entire site.

提交回复
热议问题