Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM issue using dotnet-serve #17036

Open
houstonhaynes opened this issue Sep 16, 2024 · 0 comments
Open

WASM issue using dotnet-serve #17036

houstonhaynes opened this issue Sep 16, 2024 · 0 comments
Labels

Comments

@houstonhaynes
Copy link

houstonhaynes commented Sep 16, 2024

Describe the bug

FYI - I'm running into an issue with dotnet serve per the instructions. This is confirmed when running dotnet-serve on either Windows or Linux - I get a "nice clean" console in the browser with no issues but the screen is simply blank after loading (the index.html pre-load/splash page loads as expected).

Running locally from JetBrains Rider or dotnet run from the command line is fine, BTW. It's only when serving from the AppBundle

Avalonia 11.1.0
dotnet sdk 8.0.4

Screenshot 2024-09-16 133856

To Reproduce

dotnet publish -p:CompressionEnabled=false 
dotnet serve -d:./bin/Release/net8.0-browser/browser-wasm/AppBundle --port 5000 --address any 

Expected behavior

load of WASM page in browser

Avalonia version

11.1.0

OS

Windows, Linux, WebAssembly

Additional context

running from command line dotnet run is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant