reckfellENGINE

C# build errors: causes and fixes

All 22 RF codes: causes, complete fixes and reproducible build errors for SDK 1.0.0.

On this page

Reckfell.NET.Sdk 1.0.0 analyzer errors: find the exact code from the build output. Each article gives the cause and complete corrected files.

Fix a build

  1. Read the first dotnet build error: its code, file and line.
  2. Find the code below. Fix your declaration using the working version as a reference.
  3. Build again. Do not copy both failing and corrected declarations into the project.
  4. CSxxxx and NUxxxx belong to other diagnostic groups: keep the full message and check syntax, the SDK and package restore.

Diagnostic codes

CodeWhat to fix
RF0001Script class needs partial
RF0002Containing class needs partial
RF0003Two script classes use one path
RF0101Export does not support static
RF0102Exported type is unsupported
RF0103Exported value is read-only
RF0104Exported property needs a getter
RF0105An indexer cannot be exported
RF0106Explicit interface implementation cannot be exported
RF0107Entity references belong on Entity components
RF0108Inspector button needs a Tool class
RF0109Do not combine Export and ExportToolButton
RF0110Inspector button must return Callable
RF0111Button getter must create a Callable
RF0201Signal delegate name must end in EventHandler
RF0202Signal parameter is not Variant-compatible
RF0203Signal delegate must return void
RF0301Generic type argument is not Variant-compatible
RF0302Generic parameter needs MustBeVariant
RF0303Analyzer could not handle the type-argument context
RF0401GlobalClass requires ReckfellObject inheritance
RF0402GlobalClass must not be generic

When one fix is not enough

One member may violate several rules. For example, Export combined with ExportToolButton produces RF0109, while a read-only property may also produce RF0103. Fix the cause rather than hiding diagnostics with NoWarn. An RF0303 trigger has not yet been confirmed; its page provides a concrete workaround and the information to retain for investigation.

Start with C# · Export properties · Variant

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.