Blazor WASM not working with Latest Aspire Preview 3
#296 mentioned this would be fixed in Preview 2. I'm on Preview 3 and still seeing this error.
There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'
Minimal Repo: BlazorApp1.zip
Are you certain, that you are on Aspire preview 3?
Would you run dotnet workload list in a cmd and validate that?
Because I don't think preview 2 is released yet, you may be confusing the Aspire preview with the VS preview version.
I'm on the daily bits:
Aspire Preview 2 officially dropped today and this seems to still be a problem.
This problem still going on, when will this problem be solved?
cc @joperezr
is blazor wasm Standalone supported yet? or how do i then deploy it
Blazor standalone is not supported. We might be able to make it work for development but not deployment (at least for the initial release).
cc @vijayrkn I beleive later versions of VS will support Blazor WASM https://github.com/dotnet/aspire/issues/1418
OR this might be a workload issue. @joperezr
Not sure I'm following what seems to be wrong here. Original post is about Blazor wasm not working with Aspire, from the above it seems like this is expected, so not sure how that relates to the workload.
Just got Microsoft Visual Studio Community V 17.10.0 Preview 3 There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'
I apologize if this is the wrong thread... please don't yell at me :)
Still getting this error with current latest - Aspire GA.
The Problem is with the Service defaults project, it uses <FrameworkReference Include="Microsoft.AspNetCore.App" />, this pulls in Microsoft.AspNetCore.App which is not supported in webassembly.
You get things to build/run by removing the Service Defaults project reference from the web assembly app, but then you lose all the nice telemetry stuff (and service discovery?).
What issues? Service discovery and dashboard telemetry doesn't work in WASM and that's not what this issue is about. I'll close this one, and we should open new issues with specific feature requests.
See https://github.com/dotnet/aspire/issues?q=is%3Aissue+is%3Aopen+blazor+wasm+
What issues?
The one from the very first comment
There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'
Ah I see, lets treat this one as a dupe of https://github.com/dotnet/aspire/issues/1536. There's much better information in there.