statiqdev / Statiq.Framework

A flexible and extensible static content generation framework for .NET.
https://statiq.dev/framework
MIT License
425 stars 74 forks source link

Statiq.Yaml not compatible with latest YamlDotNet #236

Open alonghurst opened 2 years ago

alonghurst commented 2 years ago

Using Statiq.Web 1.0.0-beta47 and YamlDotNet 11.2.1 causes an error when running the Quickstart example from https://www.statiq.dev/web

[ERRO] Inputs/Process » ExecuteIf » ExtractFrontMatter » ParseYaml » [Index.md => Index.md] Method not found: 'System.Collections.Generic.IDictionary2<YamlDotNet.RepresentationModel.YamlNode,YamlDotNet.RepresentationModel.YamlNode> YamlDotNet.RepresentationModel.YamlMappingNode.get_Children()'.`

Replication: Create a new project following the Quickstart example and reference YamlDotnet 11.2.1.

Statiq.Yaml 1.0.0-beta60 references YamlDotnet 6.1.2 which seems to cause a package version clash.