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

前端 未结 8 1470
梦谈多话
梦谈多话 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:04

    Just in case someone else runs into the same problem as I did: for me it turned out to be a setting in my web.config as follows:

    
    

    What this guy does is he disables File Change Notification, which is used to restart the application domain when a change is detected in critical files e.g. anything in the bin or .config files. Without fcn, I would make code changes, press F5 and still see the old code, and all breakpoints would be whited out because the source was different to what IISExpress was serving up.

提交回复
热议问题