Closed mrbelk closed 3 years ago
@mrbelk By default, Handlebars.Net.Helpers will attempt to load "plugins" by loading all dlls in the current directory as assemblies and peeking for types implementing IHelper.. I'd recommend always using
var h = Handlebars.Create();
HandlebarsHelpers.Register(h, opt => { opt.CustomHelperPaths = new string[0]; });
or equivalent to prevent this.
That did the trick. Thanks.
I'm trying to incorporate the helpers into a Xamarin.Forms app, but when I make the call to register the helpers like this:
I get this error in the application output window:
I am running on an Android 8 device, and using Xamarin.Android 11.2.2.1, with .Net Core 5.0.201 (and 3.1.407)
Thanks, Matthew