project-system
project-system copied to clipboard
User global file nesting fails to load when there is folder name ending in filenesting.json
If %localappdata%\Microsoft\VisualStudio\NestingProfiles folder contains a nested folder whose name ends with filenesting.json then we failed to load custom nesting profiles in UI.
Actually it seems to happen whenever ANY folder is created in the %localappdata%\Microsoft\VisualStudio\NestingProfiles folder.
My guess: there is a file change notification hook that tries to update the list of custom profiles whenever they change, doesnt expect a folder among the notifications, throws an exception and thus the list of custom profiles get cleared.
That wasn't the case when testing I did. I created vshistory folder and put a filenesting.json file inside it and it showed up correctly in UI. We will verify again when we work on this issue.