RichTextBox: ArgumentException thrown when running the control in .NET Core project
The exception is thrown with a message "Item has already been added. Key in dictionary: 'RepeatButtonLineUpTemplate'" and it is caused by a duplicate style definition.