Building blazor dotnet service with buildpack but facing "Unable to resolve WebAssembly runtime pack version" #274
Lancelot0105
started this conversation in
.NET Core Team
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried building blazor application using buildpack (using dotnet version 8.0.100) but I am getting "Unable to resolve WebAssembly runtime pack version".
Here is the full logs:
Welcome to .NET 8.0!
---------------------
SDK Version: 8.0.100
failed to execute 'dotnet publish': exit status 1
But when I am using dotnet pubslish flag "BP_DOTNET_PUBLISH_FLAGS=--self-contained=true" and the application is getting built but dotnet-core-aspnet-runtime and dotnet-execute is getting participated hence I am getting the below error "failed to find *.runtimeconfig.json: no *.runtimeconfig.json found: file does not exist".
Beta Was this translation helpful? Give feedback.
All reactions