Bevel cannot find a type in your Data code

A grouper or processor is declared outside the Data/ folder.

  • Error
  • BEVEL074

What it means

The prebuild compiles only Data/**/*.cs and your package references. A type it cannot see fails to resolve.

Example message

text
BevelPrebuild: error BEVEL074: A type used in your Data/ code could not be resolved. Prebuild compiles only Data/**/*.cs and the project's package references, so types such as a grouper used in [GroupBy<TGrouper>("...")] or a processor used in [Process<TProcessor>("...")] must be declared under Data/ (not in other project folders). Move the type there. Help: https://khalidabuhakmeh.github.io/bevel/reference/diagnostics/bevel074/

How to fix

Move the type into the Data/ folder.