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
Having to add [assembly: GenerateCodeForDeclaringAssembly] is a bit hard to discover, especially when types being used come from nuget packages.
It might be valuable to also offer an MSBuild alternative, just like [InternalsVisibleTo...] can now be done with <InternalsVisibleTo Include=".." />directly in the csproj.
This way, it should even be possible for the nuget packages themselves to provide this item automatically so that scenarios that use those types in Orleans context, Just Work.
The text was updated successfully, but these errors were encountered:
Having to add
[assembly: GenerateCodeForDeclaringAssembly]
is a bit hard to discover, especially when types being used come from nuget packages.It might be valuable to also offer an MSBuild alternative, just like
[InternalsVisibleTo...]
can now be done with<InternalsVisibleTo Include=".." />
directly in the csproj.Something like the following:
This way, it should even be possible for the nuget packages themselves to provide this item automatically so that scenarios that use those types in Orleans context, Just Work.
The text was updated successfully, but these errors were encountered: