DesignerAttribute problem



Hi all
I'm working in VB.NET.

I have one solution (controls and components) that contains two projects: one with the designers (all inherited from ControlDesigner) and another project with the controls and the components.
Before splitting mu project into two different projects, I was working on a single assembly (project) containing both designers and controls, amd Designer was specified this way:
DesignerAttribute(GetType(MyControlDesigner))

After moving my designers to a new project, I specified control's designers attribute this way:
DesignerAttribute("MyNamespace.Designers.MyControlDesigner, MyDesignerAssembly.Design, Culture=neutral")

Unfortunately, designers are not resolved when I test my controls in a WinForms test project. Both main assembly (controls) and designers assembly are correctly copied to the Debug folder of my test project, but controls are working without a designer yet!

In other words: how literal (string) references are resolved for DesignerAttribute?
Same problem with TypeConverters and TypeEditors...

What I'm missing?

Thank you
.



Relevant Pages

  • Re: DesignerAttribute problem
    ... If controls can't instantiate its designers, how they are supposed to work? ... If your designers does not need to reference your controls (i don't think ... WinForms test project. ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Re: DesignerAttribute problem
    ... If controls can't instantiate its designers, how they are supposed to work? ... If your designers does not need to reference your controls (i don't think ... WinForms test project. ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Re: DesignerAttribute problem
    ... controls project has NO references to designer project. ... Maybe you are not adding the reference to the designers project by using the "project references" tab. ... designers are not resolved when I test my controls in a WinForms test project. ...
    (microsoft.public.dotnet.framework.windowsforms.designtime)
  • Re: Can anyone recommend a book...
    ... opposed to designers. ... Sells and Michael Weinhardt in MSDN magazine titled "Building Windows Forms ... Controls and Components with Rich Design-Time Features", ... > I'm trying to find a decent book that covers the topics related to designing> & implementing custom controls and components, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Run/design time packages
    ... > Should I include my designers in the same assembly as my controls? ... Some of that support is in the .Design namespace, ...
    (microsoft.public.dotnet.framework.aspnet.buildingcontrols)