PersistentState and IPersistentState require to reference Microsoft.Orleans.Runtime
Author: AntonPetrov83Created Aug 17, 2024Updated Sep 19, 2026
Hi!
I am creating an assembly with grains: MyProject.Grains and according to the documentation (see Migration Guide, Tutorial) I am referenceing only Microsoft.Orleans.Sdk.
But PersistentState and IPersistentState force me to reference Microsoft.Orleans.Runtime too.
Is it all right?
Source: dotnet/orleans