Skip to content

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Jul 3, 2022

Fix warning:

/_/src/Grpc.Net.ClientFactory/Internal/DefaultClientActivator.cs(27,85): Trim analysis warning IL2087: Grpc.Net.ClientFactory.Internal.DefaultClientActivator<TClien
t>.<>c.<.cctor>b__9_0(): 'instanceType' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in call to 'Microsoft.Extensions.DependencyInj
ection.ActivatorUtilities.CreateFactory(Type, Type[])'. The generic parameter 'TClient' of 'Grpc.Net.ClientFactory.Internal.DefaultClientActivator<TClient>.<>c' doe
s not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [C:\Develo
pment\Source\grpc-dotnet\examples\Aggregator\Server\Server.csproj]

@JamesNK JamesNK merged commit a984c6d into grpc:master Jul 5, 2022
@JamesNK JamesNK deleted the jamesnk/clientfactory-trimming branch July 5, 2022 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants