Skip to content

Fix handling of nested solution folders with same name.#75

Merged
richardstanton merged 1 commit intomainfrom
users/richsta/nestedfolderbug
Nov 18, 2024
Merged

Fix handling of nested solution folders with same name.#75
richardstanton merged 1 commit intomainfrom
users/richsta/nestedfolderbug

Conversation

@richardstanton
Copy link
Member

When parsing .sln files solution, folders are added to the model temporarily and then reparented. If there were multiple folders with the same name they would generate the same initial default id. When the actual id was assigned, it would remove the original one from the solutionItemsById lookup table, even if it was for a different folder. This would result in an error saving the file.

In addition, when the folders were reparented the default id state needed to be reevaluated.

@richardstanton richardstanton merged commit a806307 into main Nov 18, 2024
@richardstanton richardstanton deleted the users/richsta/nestedfolderbug branch November 18, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants