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

The workaround to add a couple of new lines followed by a commented-out line solved the error for us. The file in question is the _Imports.razor file used for a Blazor part of our application that only has @using statements.

1 Like