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

When compiling with a multi-target framework, Avalonia's window UI does not preview properly #504

Open
pkq520 opened this issue Nov 20, 2024 · 0 comments
Labels

Comments

@pkq520
Copy link

pkq520 commented Nov 20, 2024

Describe the bug

I use the class library of frmework4.8 with net8.0 multi-target framework, where frmework4.8's UI designer works fine, but Avalonia's UI can't be previewed, but the project compiles normally.

To Reproduce

类库框架的项目设置为
d2876746-f42d-4d33-b0cf-5857e37aceda
VS上的错误像这样
956a173a-14a9-48ca-a31b-200cbe5b06c2

Expected behavior

It will be the same as what I see in my photo, the UI can't be previewed, but it compiles fine
85ee52e3-6f9c-4ad7-bcac-babc5fe30d23

Avalonia version

11.1.0

OS

Windows

Additional context

No response

@pkq520 pkq520 added the bug label Nov 20, 2024
@maxkatz6 maxkatz6 transferred this issue from AvaloniaUI/Avalonia Nov 20, 2024
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