Migrating from Orleans 3.x to 7.0 #8425
-
Hi, After going through the official migration guide on https://learn.microsoft.com/en-us/dotnet/orleans/migration-guide and successfully connecting client and server we are dealing with an annoying problem. The problem is that we cannot resolve any grain from the client class, every attempt ends with the exception: 'System.InvalidOperationException: Unable to find an IGrainReferenceActivatorProvider for grain type <our_grain_type>' that comes from IGrainFactory/IClusterClient.GetGrain<> method. Any ideas on how to resolve this would be much appreciated ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This should be an issue. I think it's likely that the problem you're facing is that |
Beta Was this translation helpful? Give feedback.
-
I've seen this topic come up a few times, perhaps this is a candidate for an analyzer? |
Beta Was this translation helpful? Give feedback.
This should be an issue. I think it's likely that the problem you're facing is that
Microsoft.Orleans.Sdk
is not installed in all of your projects (all projects related to Orleans, including client hosts, server hosts, grain interfaces, grain implementations, serializable types). Could you double-check that?