Closed famda closed 1 year ago
+1
I'm having the same issue. I tried to load the assembly manually but this didn't work
HttpClient client = new HttpClient();
var netstandard = await client.GetByteArrayAsync("https://localhost:7028/_framework/netstandard.dll");
var stateless = await client.GetByteArrayAsync("https://localhost:7028/_framework/stateless.dll");
AppDomain.CurrentDomain.Load(netstandard);
var assembly = AppDomain.CurrentDomain.Load(stateless);
I think the solutions is to upgrade the project to .Net 6.0
Rebuild the library yourself and the result should work. I've had similar issues with loading it in Unity. Possible Reason: https://github.com/dotnet-state-machine/stateless/issues/449
Having tested this in a simple Blazor app, it looks like this was fixed by #480. @famda @danielmertens, please let us know if you're still seeing this issue!
Hi,
I'm trying to use the library on .net 6 on blazor web assembly project without success.
The project compiles without issues but can't load the page and presents this error:
Is there any issues with it?