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

Avalonia不支持Net9吗? #17503

Closed
Ultramund1 opened this issue Nov 14, 2024 · 5 comments
Closed

Avalonia不支持Net9吗? #17503

Ultramund1 opened this issue Nov 14, 2024 · 5 comments
Labels

Comments

@Ultramund1
Copy link

Describe the bug

前天,Net9正式版发布了,我将我的项目升级到Net9,发现browser不能运行。于是我用官方模板新建一个跨平台项目,一句代码也没写,运行browser,出现一样的错误如下:
CompileError: WebAssembly.compileStreaming(): Compiling function #18478:"mono_ppdb_load_file" failed: expected 0 elements on the stack for fallthru, found 4 @+7128821

Stack错误

reject [_framework/https:/raw.githubusercontent.com/dotnet/runtime/9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3/src/mono/browser/runtime/loader/promise-controller.ts] Line 30 TypeScript
[_framework/https:/raw.githubusercontent.com/dotnet/runtime/9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3/src/mono/browser/runtime/loader/exit.ts] Line 238 TypeScript
Object.at [_framework/https:/raw.githubusercontent.com/dotnet/runtime/9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3/src/mono/browser/runtime/loader/exit.ts] Line 123 TypeScript
[_framework/https:/raw.githubusercontent.com/dotnet/runtime/9d5a6a9aa463d6d10b0b0ba6d5982cc82f363dc3/src/mono/browser/runtime/startup.ts] Line 509 TypeScript

To Reproduce

每次必现,新建一个项目,Browser直接就不能运行

Expected behavior

No response

Avalonia version

11.2

OS

Windows

Additional context

No response

@Ultramund1 Ultramund1 added the bug label Nov 14, 2024
@maxkatz6
Copy link
Member

Duplicate of #17416

@maxkatz6 maxkatz6 marked this as a duplicate of #17416 Nov 14, 2024
@maxkatz6 maxkatz6 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2024
@Ultramund1
Copy link
Author

跟#17416不是一样的啊,我新建一个项目,选net8,Browser运行没任何问题!!!,但选net9,Browser就运行出错,Avalonia 11.1,11.2都是一样的错误

@Ultramund1
Copy link
Author

仅仅新建一个项目,运行

@Ultramund1
Copy link
Author

1

@Ultramund1
Copy link
Author

Ultramund1 commented Nov 14, 2024 via email

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

2 participants