.Net dependency injection in Workflow

Hi all, i’m getting an error during start the workflow.
image
Isn’t possible to use dependency injection in workflows? Only in the activities?
Thanks!

Only in the activities. Injecting dependencies into workflows is too error-prone.