A processor could not be created

Bevel could not build the processor, usually because a service is not registered.

  • Error
  • BEVEL086

What it means

Processors run during the build. Services registered only in Program.cs are not available.

Example message

text
Data/Posts/BlogPost.cs(6,15): error BEVEL086: Processor 'MySite.Data.MarkdownToHtml' requires a service of type 'MySite.Data.IMarkdownPipeline' (constructor parameter 'pipeline') that is not registered at build time. Register it in your IBevelDataStartup.ConfigureServices. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel086/

How to fix

Register the service in your IBevelDataStartup class.