Handlebars-Net / Handlebars.Net

A real .NET Handlebars engine
MIT License
1.24k stars 214 forks source link

[Question] upgrade Handlebars.Net from 2.0.10 to 2.1.0, HandlebarsHelpers.Register does not work #492

Closed ul-develop closed 2 years ago

ul-develop commented 2 years ago

After upgrade Handlebars.Net from 2.0.10 to 2.1.0, HandlebarsHelpers.Register does not work. Handlebars.Net.Helpers version 2.2.1.

var handlebars = Handlebars.Create();
HandlebarsHelpers.Register(handlebars);

Exception

System.MissingMethodException: 'Method not found: 'Void HandlebarsDotNet.IHandlebars.RegisterHelper(System.String, HandlebarsDotNet.HandlebarsReturnHelper)'.'

oformaniuk commented 2 years ago

Hello @ul-develop 2.1.0 has breaking challenges on the binary level. New Helpers package should be released. @StefH, can you please release an update?

StefH commented 2 years ago

@ul-develop The NuGet for Handlebars.Net.Helpers has been updated to version 2.3.0 to be compatible with Handlebars.Net 2.1.0

ul-develop commented 2 years ago

Thank you @StefH @zjklee, The new version of Handlebars.Net.Helpers works well with Handlebars.Net 2.1.0.