Troubleshooting Service Location & Codegen Failures Added in 1.6.0
Diagnose Wolverine IoC/code-generation failures: InvalidServiceLocationException at startup, 'Utilizing service location for...' warnings, 'Cannot build service type X in any way', UnResolvableVariableException, lifetime mismatches (IDocumentSession, DbContext, singletons capturing scoped services), handler discovery ('No known handler for message type'), Roslyn 'Compilation failures!', 'does not have a suitable, public constructor', InvalidHandlerException for an Envelope return, message alias collisions, 'already been grouped/compiled', MissingTypeException / ExpectedTypeMissingException, CodeGenerationException, Native AOT and Dynamic mode, and the codegen CLI (preview/write/test) for CI verification.
Use when a Wolverine app throws at startup after upgrading to 6.0, when generated code falls back to service location, or when a handler dependency won't resolve.
Skill details
- Skill name:
wolverine-troubleshooting-service-location-codegen - Applies to:
wolverine - Tags:
troubleshooting,ioc,code-generation,service-location,handlers,diagnostics - Added in: 1.6.0
- License: Proprietary. Copyright JasperFx Software LLC.
