Skip to content

Avalonia Browser does not work with 11.2.3 #18101

Closed Answered by luoczeng
luoczeng asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, finally I figured it out myself.
After dotnet publish and dotnet serve to host the wasm locally, magically the avalonia.js is missing in the _framework folder. We can see the 404 error in the console window or developer tools.

After searching for avalonia.js on my PC, I happen to find one in a totally different project output folder, which I have no idea how it gets created. After manually copy this file to my 'bin\Release\net8.0-browser\publish\wwwroot_framework' folder, the application can run now.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@luoczeng
Comment options

@timunie
Comment options

Comment options

You must be logged in to vote
2 replies
@maxkatz6
Comment options

@wizardness
Comment options

Answer selected by luoczeng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants