I'm building a system that add the config file in the yaml format feature in my program, the program will throw this exception:
YamlDotNet.Core.YamlException: Exception during deserialization System.InvalidCastException: Invalid cast from 'System.String' to 'dinfo.core.Handlers.ConfigTools.YamlConfigStructure'.
YamlDotNet.Core.YamlException: Exception during deserialization System.InvalidCastException: Invalid cast from 'System.String' to 'dinfo.core.Handlers.ConfigTools.YamlConfigStructure'.