Hello @Prathamesh Shende ,
Thanks to AgaveJoe for the correct answer! The issue stems from having the <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> property in your Blazor WebAssembly .csproj file.
This setting instructs the .NET build system to emit a .runtimeconfig.json file. This configuration file is strictly meant for traditional applications (like ASP.NET Core Web APIs, Console Apps, or Desktop Apps) to tell the host environment which OS-specific runtime environment to load.
Blazor WebAssembly operates in a completely different hosting model. It runs entirely inside the browser's sandbox using the WebAssembly runtime (browser-wasm). It does not use a .runtimeconfig.json file, and there is no traditional server-side Microsoft.AspNetCore.App runtime pack built for browser-wasm.
By setting this flag to true, you are explicitly forcing the build process to look for and resolve a server/desktop-style runtime pack for the browser environment. Since one doesn't exist, the build pipeline fails with the There was no runtime pack for Microsoft.AspNetCore.App available error.
Hope this helps clarify your issue.