Search code examples
visual-studio-2019visual-studio-debuggingedit-and-continue

Edit-and-continue not working in VS2019 Pro (WinForms app)


On 2 different computers (both Windows 10 Pro fully patched), I am running Visual Studio 2019 Pro (also fully patched).

If I create a new dummy Windows Forms project (VB or C#), edit and continue works great.

If I open a solution (composed of 25 projects) I have been working for years on the same computers, edit and continue is not working.

So what I understand is that there are settings on a per-solution basis that would affect the edit-and-continue. Of course, I build in Debug mode (not Release).

If I look at Tools-Options-Debugging-General, "Enable Edit and continue" is enabled. Also Tools-Options-Debugging-Just in time, the 3 options are selected.

Do you know what it could be?


Solution

  • I found the issue. I am using PostSharp and that is messing with the edit-and-continue feature of VS2019. I wrote to the PostSharp support team waiting on what they have to say!