Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Check for Control base type since IControl interface is removed #100

Merged
merged 2 commits into from
Dec 4, 2022

Conversation

notanaverageman
Copy link
Contributor

Avalonia.Controls.IControl interface is removed with AvaloniaUI/Avalonia#9553. This causes generator to find no views, therefore it doesn't generate any source code.

This PR adds a check for Avalonia.Controls.Control base type since it will be used from now on. I didn't remove the interface check so previous versions of Avalonia should still work correctly. Fixes #99

Copy link
Collaborator

@worldbeater worldbeater left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the help!

@worldbeater worldbeater added the release This is a very special label responsible for releases. label Dec 4, 2022
@worldbeater worldbeater merged commit da39281 into AvaloniaUI:main Dec 4, 2022
@worldbeater
Copy link
Collaborator

worldbeater commented Dec 5, 2022

This is now 🚢 ed as 1.5.1 https://www.nuget.org/packages/XamlNameReferenceGenerator/1.5.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release This is a very special label responsible for releases.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No source is generated with nightly Avalonia builds
2 participants