dotnet / dotnet/orleans

PersistentState and IPersistentState require to reference Microsoft.Orleans.Runtime

Open
#9,119 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
14h 42m
Merged PRs (30d)
354

Description

Hi!

I am creating an assembly with grains: `MyProject.Grains` and according to the documentation (see [Migration Guide](https://learn.microsoft.com/en-us/dotnet/orleans/migration-guide), [Tutorial](https://learn.microsoft.com/en-us/dotnet/orleans/tutorials-and-samples/tutorial-1)) I am referenceing only `Microsoft.Orleans.Sdk`.

But `PersistentState` and `IPersistentState` force me to reference `Microsoft.Orleans.Runtime` too.

Is it all right?

Contributor guide

Open the contributing guide

Research direction

Start by comparing the Migration Guide and Tutorial instructions with the references required by PersistentState and IPersistentState. Confirm whether Microsoft.Orleans.Runtime is expected, then document the correct dependency guidance or identify the package-reference mismatch; done when the documented assembly references match actual compilation requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.