dotnet / dotnet/project-system
Properly address property pages item ordering
- Dominant language
- C#
- Stars
- 1k
- Forks
- 415
- PR merge metrics
- No merged PRs in 30d
Description
Related: https://github.com/dotnet/project-system/issues/6989
Currently, CPS does not seem to maintain item ordering. This can be seen in the Target Framework dropdown. For now, we are putting in a hotfix to manually order these items. However, the proper fix has a couple options:
1. Investigate and fix CPS item ordering preservation
a. For target framework, the items are declared here and this ordering should be preserved: https://github.com/dotnet/sdk/blob/master/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.SupportedTargetFrameworks.props
2. Add functionality to the Rule definitions as to allow custom ordering.
These two options could both be completed, where the default is preserved ordering and it is optional to add your own ordering to the Rule definitions. When this PR is completed, please revert the hotfix here:
Contributor guide
Assessment
This issue has not been assessed yet.