There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Visual Studio Busy when generating template
Hi, I found an issue with Visual Studio hanging when generating templates. Is anyone else having this issue? It would take 2 minutes for a template with just Id and Name, and sometimes even that would fail. I would wait for 30 and 45 minutes for a template
with just 10 properties and the scaffolding operation would just hang visual studio.
I lost the last two days of my life to this issue, but I have the solution and I can post a pull request if others are also experiencing this issue. It ended up being an infinite recursion caused by circular class references being transversed within the plugin.
The method name where the recursion issue exists is GetCodeTypesFromLocalCodeElements().