-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix StackOverflowException in Configuration.Binder source generator #103822
Fix StackOverflowException in Configuration.Binder source generator #103822
Conversation
Note regarding the
|
1 similar comment
Note regarding the
|
Tagging subscribers to this area: @dotnet/area-extensions-configuration |
@bart-vmware Thanks for helping with the fix.
What do you mean main doesn't build? If we need to proceed, we'll need to have the fix in main first. I'll wait to have you getting everything ready and then can review it. |
On the main branch, I'm unable to build Based on the guidance here, this is what I tried (using PowerShell 7.4.3):
All the scripts succeed. But when loading the solution in VS, it makes several changes to the .sln file. Trying to build the solution from VS fails with the following error:
The directory I've tried various combinations with switches like @tarekgh Can you help out? |
I didn't try going through your steps, I'll try that later when I get a chance. Can you try to build and run from the command line? The easiest way is doing the steps:
Let me know if you face any issue I can try to help with. |
Yes, that works. The problem is using Visual Studio. I'd like to be able to edit/debug the tests. Can you try building and running the tests from Visual Studio? Upon opening it, the following changes are automatically applied to the .sln: And then the build fails. |
Here is what you can do to use VS.
Let me know if you need more help. |
@tarekgh Thanks for providing the detailed steps. Unfortunately, I'm still getting the same error. I've asked a coworker to try and he's observing the same problem. Telling VS to open the folder makes it load the .sln instead. What should have been a simple effort from my side has already taken me hours, and I can't justify spending more time on it, so I'm giving up on this PR. Please feel free to take it from here. The chosen threshold of 10 is arbitrary, please adapt based on what compiler and runtime typically use. |
@bart-vmware thanks for trying. I am closing the PR and will revisit when we focus on getting the fix. in. |
Fixes #103802.
No tests yet, work in progress...
Currently targets release/8.0 because main doesn't build.