after converting C# to VB.NET there is an ambiguous error in the namespace

Issue

This Content is from Stack Overflow. Question asked by user19530941

there is an error I have marked in the code below whether this is the cause of converting from c# to vb.net but if I create a new project vb.net with the textbox there is no problem whatsoever. Please recommend a solution.
is there anything that needs to be modified in the designer?

Thanks

'error this line in bunifutextbox is ambiguous in the namespace bunifu.ui.winforms
            Dim StateProperties1 As Bunifu.UI.WinForms.BunifuTextBox.StateProperties = New Bunifu.UI.WinForms.BunifuTextBox.StateProperties()
            Dim StateProperties2 As Bunifu.UI.WinForms.BunifuTextBox.StateProperties = New Bunifu.UI.WinForms.BunifuTextBox.StateProperties()
            Dim StateProperties3 As Bunifu.UI.WinForms.BunifuTextBox.StateProperties = New Bunifu.UI.WinForms.BunifuTextBox.StateProperties()
            Dim StateProperties4 As Bunifu.UI.WinForms.BunifuTextBox.StateProperties = New Bunifu.UI.WinForms.BunifuTextBox.StateProperties()
'The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified.  Please remove any changes and try opening the designer again.
            Me.BunifuTextBox1 = New Bunifu.UI.WinForms.BunifuTextBox()
            Me.SuspendLayout()
'Error  BC30002 Type 'BunifuTextBox' is not defined.
Friend WithEvents BunifuTextBox1 As BunifuTextBox
    



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?