Skip to content

[browser] Uncaught Error: System.Delegate.DynamicInvoke method can not be resolved. #47516

Closed

Description

@kjpou1

When building an app using <PublishTrimmed>true</PublishTrimmed> the linker is linking out System.Delegate.DynamicInvoke

Uncaught Error: System.Delegate.DynamicInvoke method can not be resolved.
    at Object.invoke_delegate (dotnet.js:9519)
    at WebSocket.<anonymous> (dotnet.js:8531)

Activity

  1. added this to the 6.0.0 milestone on Jan 27, 2021
  2. self-assigned this
    on Jan 27, 2021
  3. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Jan 27, 2021
  4. added and removed
    untriagedNew issue has not been triaged by the area owner
    on Jan 27, 2021
  5. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Jan 27, 2021
  6. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Feb 10, 2021
  7. ssanderlin commented on Mar 8, 2021

    @ssanderlin

    @kjpou1 Would it be possible to get this cherry-picked into the 5.x branch for release in 5.0.4? I've been running into this exact issue when working with WASM and ASP.NET Core SignalR even without PublishTrimmed enabled, but I am thus far unable to repro using 6.0.100-preview.1.21103.13.

  8. ghost locked as resolved and limited conversation to collaborators on Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions