You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project where I'm defining the SignalR details from a spec using Roslyn code generation. I'm making the hub interface dynamically. Unfortunately the CLI tool doesn't seem to see it- even if I use the --asm true option- I figured that would be enough to make it look at the final output. Is there something else I can do? I'd love to make this work.
Here is the code being generated - if it isn't obvious, this is the code I'm generating. (snipped for clarity and I've omitted the generated implementation)
Activity
IsaacSherman commentedon Jan 5, 2026
This is the file that got generated by dotnet
tsrts --project Project.csproj --output generated --asm true:[-]Mixing generators doesn't work[/-][+]Mixing code generators doesn't work[/+]nenoNaninu commentedon Jan 14, 2026
It is impossible to support interfaces that are dynamically generated at runtime.
hub/receiver interfaces must be defined at compile time.