Hi,
I've found some component class for combobox. I've added new control to form and now every time if I change anything in the form (which contains at least one this custom control), it is updating *.designer.vb file with non-existing namespacing for the all my user controls!
For user control I've assigned Namespace: Namespace TWAssets.Controls
(I tried without - did not help as well)
Projects Name is TWAssets
So correct namespace is for the user control is TWAssets.TWAssets.Controls
This namespacing is showing Object Browser as well. The problem appears when I change in the form anything and save, VS.NET overwrites all namespacing for all user controls:
Me.PcmbSite = New TWAssets.TWAssets.Controls.PComboBox
Which is not valid inside designer class, and every time after made any changes I have to open Designer.vb file and fix it to:
Me.PcmbSite = New TWAssets.Controls.PComboBox
Why VS.NET outside of Class includes Project Name, but in the class does not?? As correctly would be to add:
Imports TWAssets.TWAssets.Controls
Thanks for any help.
Tomas
I've found some component class for combobox. I've added new control to form and now every time if I change anything in the form (which contains at least one this custom control), it is updating *.designer.vb file with non-existing namespacing for the all my user controls!
For user control I've assigned Namespace: Namespace TWAssets.Controls
(I tried without - did not help as well)
Projects Name is TWAssets
So correct namespace is for the user control is TWAssets.TWAssets.Controls
This namespacing is showing Object Browser as well. The problem appears when I change in the form anything and save, VS.NET overwrites all namespacing for all user controls:
Me.PcmbSite = New TWAssets.TWAssets.Controls.PComboBox
Which is not valid inside designer class, and every time after made any changes I have to open Designer.vb file and fix it to:
Me.PcmbSite = New TWAssets.Controls.PComboBox
Why VS.NET outside of Class includes Project Name, but in the class does not?? As correctly would be to add:
Imports TWAssets.TWAssets.Controls
Thanks for any help.
Tomas