Unnecessary RDLC Dataset modification when compiling
Describe the bug This problem is not a really a bug but causes unnecessary modifications in RDLC files:
- When you compile (AL: Package), the section <DataSets> of RDLC files are placed at the end of the file
- When you open the RDLC file with Visual Studio Report Designer and save the file, the <DataSets> section is moved at the beginning of the file
This problem causes tracking changes in RDLC file more difficult than it is already :)
To Reproduce Steps and to reproduce the behavior:
- Open a RDLC file with Visual Studio Report Designer
- Change something and save the file
- Commit your changes against the current branch
- Call AL: Package action You can notice now that the RDLC file has been changed.
Expected behavior It would be expected that the <DataSets> section should be left at the same position by replacing the node where it is by the new one; and not deleting it+adding at the end.
Screenshots ./.
5. Versions:
- AL Language: 5.0.254558
True. It is annoying. We partially switched to word layouts and I'm noticing similar behaviour with them. Without any change on the report and after running build some of them (not all) become marked as changed. We didn't figure out yet why that is happening.
BR, Bojan
Now happens with Word layouts...
4 years later... The problem is still there. My colleagues design multiple reports for BC 23. I merge master branch into my feature branch and compile the app: most of rdl files are changed now an I have to undo the changes manually. That's annoying.
Some setup in VS Code like "Use Visual Studio Report Designer format" would be appreciated.
We have internally discussed this issue and have decided not to accept this issue to be fixed at the moment to prioritize other issues. Thank you for raising this concern.