I am getting the same kind of error while building the project from Visual Studio 2022. Please assist
Error (active) WASM0005 Unable to resolve WebAssembly runtime pack version .nuget\packages\microsoft.net.sdk.webassembly.pack\9.0.2\build\Microsoft.NET.Sdk.WebAssembly.Browser.targets 219