Skip to content

Error : MaterialSkin.Controls.MaterialSingleLineTextField.set_MaxLength(Int32) #1

@DarkGtDavil

Description

@DarkGtDavil

.NET Version: 5.0.15
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException: Method not found: 'Void MaterialSkin.Controls.MaterialSingleLineTextField.set_MaxLength(Int32)'.

After build setup package and install to client machine success and run application

MaterialSkin.Controls.MaterialSingleLineTextField
public new int MaxLength { get { return _baseTextBox.MaxLength; } set { _baseTextBox.MaxLength = value; } }

change to
public int MaxLength { get { return _baseTextBox.MaxLength; } set { _baseTextBox.MaxLength = value; } }

i'm think this solve problem

Environment
Windows : 10 Pro
.NET version : .NET 5
Visual studio version : Visual studio 2019 Pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions