“Edits were made which cannot be compiled” . zero errors and Enable and edit and continue is checked in vs2010

前端 未结 7 1416
青春惊慌失措
青春惊慌失措 2020-12-29 04:21

I am able to edit my code in debug mode but then pop up shows the error that \"Edits were made which cannot be compiled. Execution cannot continue until the compile errors a

7条回答
  •  天涯浪人
    2020-12-29 04:41

    Potentially this is caused by Visual Studio's Edit & Continue feature.
    A workaround is to disable this feature:

    Debug --> Options --> Debugging --> General --> uncheck Enable Edit and Continue
    

    Solution taken from here.

    Also answered here.

提交回复
热议问题