torhovland / blazor-redux

Connecting a Redux state store with Blazor.
Other
481 stars 48 forks source link

Error: System.ArgumentException: The assembly does not contain a public invokable method with [JSInvokableAttribute("DevToolsReady")]. #20

Open OscarCanek opened 4 years ago

OscarCanek commented 4 years ago

I always got the following error:

Error: System.ArgumentException: The assembly 'blazor.redux' does not contain a public invokable method with [JSInvokableAttribute("DevToolsReady")].
  at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.GetCachedMethodInfo (Microsoft.JSInterop.Infrastructure.DotNetDispatcher+AssemblyKey assemblyKey, System.String methodIdentifier) <0x24f0eb8 + 0x000dc> in <8e638f8fc2b74908b7ce028347321a9b>:0 
  at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.InvokeSynchronously (Microsoft.JSInterop.JSRuntime jsRuntime, Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo& callInfo, Microsoft.JSInterop.Infrastructure.IDotNetObjectReference objectReference, System.String argsJson) <0x24f0830 + 0x0003a> in <8e638f8fc2b74908b7ce028347321a9b>:0 
  at Microsoft.JSInterop.Infrastructure.DotNetDispatcher.BeginInvokeDotNet (Microsoft.JSInterop.JSRuntime jsRuntime, Microsoft.JSInterop.Infrastructure.DotNetInvocationInfo invocationInfo, System.String argsJson) <0x24f03a0 + 0x00094> in <8e638f8fc2b74908b7ce028347321a9b>:0 

Could you help me?

GuardianDead commented 2 years ago

https://stackoverflow.com/questions/62954461/the-assembly-does-not-contain-a-public-invokable-method-with-jsinvokableattribu