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

The call is ambiguous between the following methods or properties: "InitializeComponent(bool) " and "InitializeComponent(bool) " #5

Closed
lyz00000 opened this issue May 26, 2023 · 1 comment

Comments

@lyz00000
Copy link

Reproduce steps:

  1. In a project which uses avalonia preview 8 install the NuGet "Avalonia.PropertyGrid".
  2. Then the project all the ".axaml.cs" file will report the error "The call is ambiguous between the following methods or properties: "InitializeComponent(bool) " and "InitializeComponent(bool) "
    image

Possible reason:
The NuGet "Avalonia.PropertyGrid" contains "XamlNameReferenceGenerator" which has been included in the avalonia(Preview8).
image

@bodong1987
Copy link
Owner

I have add support for Avalonia 11.0.0-rc1.1. this version can work with preview version of Avalonia.

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

No branches or pull requests

2 participants