java.lang.IllegalArgumentException: Line 575 is out of range for file xxx File has 386 lines

Thanks, @johanb, for helping with a workaround.

It looks like the latest version of dotnet (8.0.5), which was released on May 14, contains a new version of Roslyn (4.10.0.0), which changes the way the code behind is generated.

1 Like