You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Xaml Compiler requires a public parameterless constructor in the code behind file of a view. It does not accept an internal parameterless constructor. However it would be beneficial if it would.
To Reproduce
Make the constructor in a code behind file internal instead of public.
Expected behavior
Xaml compiler should also work with internal constructors when all relevant classes are within the same assembly.
Avalonia version
11.2.5
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
I get the following message: Unable to find public constructor for type InternalConstructors:InternalConstructors.Views.UserControl1() Zeile 12, Position 3.
Describe the bug
The Xaml Compiler requires a public parameterless constructor in the code behind file of a view. It does not accept an internal parameterless constructor. However it would be beneficial if it would.
To Reproduce
Make the constructor in a code behind file internal instead of public.
Expected behavior
Xaml compiler should also work with internal constructors when all relevant classes are within the same assembly.
Avalonia version
11.2.5
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: