dotnet / dotnet/orleans

Orleans source generator ignores implicitly referenced projects

Open
#8,461 6 comments 1 reaction 1 assignee Claimed by @ReubenBond View on GitHub
Needs: triage :mag:
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
15h 1m
Merged PRs (30d)
345

Description

Hello.

I've stumbled into this while trying to implement a PoC project with Orleans.
Orleans source generator (on .NET 7) will ignore grains placed in the implicitly referenced projects and will throw "unable to find implementation for.." exception.

For example, this project configuration will fail.

```mermaid
graph TD;

Silo-->Domain-->Grains
Client-->Domain
Client-->Grains
```

My suggestion is to add special assembly attribute describing which assemblies we should include in code generation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.