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

[Bug] .NET 8.0 to .NET 9.0 #252

Open
cm3solutions opened this issue Nov 20, 2024 · 1 comment
Open

[Bug] .NET 8.0 to .NET 9.0 #252

cm3solutions opened this issue Nov 20, 2024 · 1 comment
Labels
Bug Something isn't working Triage Issue needs to be triaged

Comments

@cm3solutions
Copy link

Describe the bug
I updated my project from .NET 8.0 to .NET 9.0 and got the following error

ManagedError: Method not found: System.Threading.Tasks.ValueTask`1<!!0> Blazored.LocalStorage.ILocalStorageService.GetItemAsync<!0>(string,System.Threading.CancellationToken)
at sn (c:\Users\perrym2\source\repos\pulse-iq\PulseIQ\Server\wwwroot\blazor-coffee_framework\https:\raw.githubusercontent.com\dotnet\runtime\9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3\src\mono\browser\runtime\marshal-to-js.ts:420:18)
at rn (c:\Users\perrym2\source\repos\pulse-iq\PulseIQ\Server\wwwroot\blazor-coffee_framework\https:\raw.githubusercontent.com\dotnet\runtime\9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3\src\mono\browser\runtime\marshal-to-js.ts:290:31)
at nn (c:\Users\perrym2\source\repos\pulse-iq\PulseIQ\Server\wwwroot\blazor-coffee_framework\https:\raw.githubusercontent.com\dotnet\runtime\9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3\src\mono\browser\runtime\marshal-to-js.ts:277:21)
at c:\Users\perrym2\source\repos\pulse-iq\PulseIQ\Server\wwwroot\blazor-coffee_framework\https:\raw.githubusercontent.com\dotnet\runtime\9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3\src\mono\browser\runtime\managed-exports.ts:68:19
at Object.Pc [as runMain] (c:\Users\perrym2\source\repos\pulse-iq\PulseIQ\Server\wwwroot\blazor-coffee_framework\https:\raw.githubusercontent.com\dotnet\runtime\9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3\src\mono\browser\runtime\run.ts:71:22)
at async Object.callEntryPoint (https://localhost:5001/blazor-coffee/_framework/blazor.web.js:1:157759) {superStack: {…}, managed_stack: ' at System.Runtime.CompilerServices.Asy…coffee/_framework/blazor.web.js:1:157759)', stack: , message: 'Method not found: System.Threading.Tasks.Val…>(string,System.Threading.CancellationToken)', Symbol(wasm js_owned_gc_handle): 38}

Additional context
Will there be an update for .NET 9.0 anytime soon?

@cm3solutions cm3solutions added Bug Something isn't working Triage Issue needs to be triaged labels Nov 20, 2024
@milkyjoe90
Copy link

I've experienced this too, reverting to .net 8 fixes the issue, can we do anything to help debug the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Triage Issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants