I was having trouble deleting a pre-existing code generation task in a project file upgraded from 5.2 to 5.10.
Basically, some settings from the previous version 5.2 are invalid now, so I created a new task with the correct values and then went to delete the "old" task but the "Remove selected..." button is greyed out.
I looked in the project file and I see that there is a CodeGenerationCyclePreferences and an AdditionalCodeGenerationCyclePreferences with the original task under CodeGenerationCyclePreferences and the new one under AdditionalCodeGenerationCyclePreferences.
So instead, I deleted the new task and then just edited the pre-existing task in place and that worked.
I don't really have a question but this could perhaps be more clear in the UI somehow?
Thanks!