How to fix StackOverflowException after upgrading from .Net 6 to .Net 8
Abhishek, Burra
5
Reputation points
Hello,
I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio.
When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being called many times resulting in infinite loop.
Please help in fixing this issue.