RayT
asked on
Visual Studio Generates Duplicate Code
Occasionally a form fails to open in Visual Studio because of a duplicate line of code in the xxx.Designer.vb file. After I remove the duplicate line of code the form returns to normal.
What is the cause of this? How do I keep this from happening?
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Cont ainer()
Me.components = New System.ComponentModel.Cont ainer()
What is the cause of this? How do I keep this from happening?
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Cont
Me.components = New System.ComponentModel.Cont
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm using DevExpress
Well, I'd like to think they had resolved something that old by now, but who knows. I'm still on VS2017 so can't really test here, but I suspect it's a subtle combination of things coming together in your specific case that triggers it.
»bp
»bp
ASKER
Appears this bug is mature. 12 olds year.
@Ray Turner,
Are you all set with this now, or do you need more help? If all set, could you please close it out now. If you need help with the question close process take a look at:
»bp
Are you all set with this now, or do you need more help? If all set, could you please close it out now. If you need help with the question close process take a look at:
»bp
ASKER
Thanks!
ASKER
Version 16.0.4
VisualStudio.16.Release/16
Microsoft .NET Framework
Version 4.7.03190