Hi designers,
I've written my own designer following some articles postet here.
It works as expected, but I cannot run design time serialization.
I tried to get the right service this way:
IDesignerSerializationService ds =
(IDesignerSerializationService)this.host.GetService(typeof(IDesignerSerializationService));
But unless I implement IDesignerSerializationService the method
return null. I don't want to implement it by myself, because
I deal with winform controls only and I think I can use the internal
serializer.
I want to call ds.Serialize(MyControlCollection) if I need the
serialized stuff, but I want not use any customization.
Can anybody give me a hint how to use the serialization outside
the VS.NET environment?
Thank you very much,
Joerg Krause
Frank Hileman - 24 May 2004 17:35 GMT
Hello Joerg,
That API is not public now. The code is not in the .NET framework; it is in
visual studio, in a non-redistributable. In Whidbey I think the situation
will change.
Regards,
Frank Hileman
check out VG.net: www.vgdotnet.com
Animated vector graphics system
Integrated Visual Studio .NET graphics editor
> Hi designers,
>
[quoted text clipped - 5 lines]
>
> IDesignerSerializationService ds =
(IDesignerSerializationService)this.host.GetService(typeof(IDesignerSerializ
ationService));
> But unless I implement IDesignerSerializationService the method
> return null. I don't want to implement it by myself, because
[quoted text clipped - 10 lines]
>
> Joerg Krause