An error occurred while starting the application.
ArgumentOutOfRangeException: startIndex cannot be larger than length of string. (Parameter 'startIndex')
string.Substring(int startIndex, int length)
How did you changed the .NET Core? I just tested this on the sample Dancing Goat Core project - I just changed the target framework version to .NET 6, built the solution and it is working fine.
Please, sign in to be able to submit a new answer.