Zadaný název třídy X se neshoduje se skutečným typem kořenové instance Název typu. Odeberte direktivu Class nebo zadejte instanci prostřednictvím parametru XamlObjectWriterSettings.RootObjectInstance.
Click to search this error in Google
English version
Specified class name 'X' doesn't match actual root instance type 'Type Name'. Remove the Class directive or provide an instance via XamlObjectWriterSettings.RootObjectInstance.