Note. I plan to expand this when I go forward and find out more. If you want to contribute to this answer, I will change it to CW and at the same time feel free to make any changes that seem to you
Smaller changes == Smaller errors
In general, as @DenDelimarsky stated, making small changes and running / debugging the code is a good start. In most cases, this will reduce the error to the areas in which you worked.
However, here are some tips you can use to narrow down your problems:
Class Search:
Your specific message for exception e states the following:
Failed to set the property 'Windows.UI.XAML. ResourceDictionary .Source' (highlighted by me)
This means that the ResourceDicionary class has complexities that assign the Source property. First, search within the volume of files that you edited, and then, if no errors are found, use the entire solution for this class and look for any errors that may be present.
source share