More than one startup class

Your project has two or more IBevelDataStartup classes. Bevel allows one.

  • Error
  • BEVEL040

What it means

IBevelDataStartup registers services that your loaders and processors need at build time. Bevel runs one startup, so it refuses to guess between several.

Example message

text
Data/Posts/BlogPost.cs(6,15): error BEVEL040: Multiple IBevelDataStartup implementations found: MySite.Data.BlogStartup, MySite.Data.SearchStartup. A project may declare only one; compose registrations in a single startup. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel040/

How to fix

Keep one IBevelDataStartup class and move the registrations of the others into it. Delete the extra classes.