Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PublishTrimmed leads to Exception #20

Open
volllly opened this issue Nov 16, 2021 · 0 comments
Open

PublishTrimmed leads to Exception #20

volllly opened this issue Nov 16, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@volllly
Copy link
Contributor

volllly commented Nov 16, 2021

Describe the bug

Project Trimming leads to a runtime error due to grpc/grpc-dotnet#1470

To Reproduce

Add <PublishTrimmed>true</PublishTrimmed> to the .csproj file.

Exceptions (if any)

Generic implementation type 'Grpc.AspNetCore.Server.Internal.DefaultGrpcServiceActivator`1' has a DynamicallyAccessedMembers attribute applied to a generic argument type, but the service type 'Grpc.AspNetCore.Server.IGrpcServiceActivator`1' doesn't have a matching DynamicallyAccessedMembers attribute on its generic argument type.

Further technical details & context

  • Version of the Middleware Launcher: 2.0.0-poc.1
  • Operating system: Windows 10 x64
@volllly volllly added the bug Something isn't working label Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant