In VS2022, VB hot reload never works, claiming ENC0005, when Handles is not relevant
peter rumsey
0
Reputation points
In this code, deleting either LstLog line text while at the breakpoint evinces the problem. You can use Debug. instead of LstLog.
Private Sub mnuLogShown_Click(sender As Object, e As EventArgs) Handles mnuLogShown.Click
LstLog.Write($"--------> File Pair List started at {Now}")
LstLog.Write($"{fPair.LName}|#{xPair}|{fPair.RName}")
For Each i In fPair.Map
Dim item = cFiles(i).lvItem
If Not item.fPair.Op.Any(Op.Ops) Then Continue For
'LstLog.Write()
Debug.WriteLine($"{item.LText} {item.Ops} {item.RText}")
Next i '<--breakpoint>
End Sub
Sign in to answer