aaubry / YamlDotNet

YamlDotNet is a .NET library for YAML
MIT License
2.48k stars 466 forks source link

Property 'access-points' not found on type ... #860

Closed jiangzhuangxiansheng closed 7 months ago

jiangzhuangxiansheng commented 8 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen. image image image

It's not clear why this is happening Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

EdwardCooke commented 8 months ago

My guess is passing in the naming convention when you build the deserializer. Try removing that and see what happens. If you still get an error let me know and I’ll take a deeper look. Also. Copy paste the yaml and code I really dont want to retype all of that to reproduce the problem. Wrap it in new lines with 3 back ticks. It's these ```

EdwardCooke commented 8 months ago

And what version of the library are you using?

jiangzhuangxiansheng commented 8 months ago

I set ApplyNamingConventions = false to parse correctly

EdwardCooke commented 7 months ago

Since you found a solution, I'm closing this.