alexcsharp2
8/29/2008 3:10:00 PM
I am working on the example located here : :http://
support.microsoft.com/?id=813808
Scenario : I add a button. Its name is button1 and I run. It works
well. And then I add a second button to my form. And I run it again.
My problem is the following :
When I am running it with the dot net 1.1 : I can see the two
buttons.
But with the dot net 2.0 I se nothing. The serializer serializes only
the button added and not all the components.
What is the reason? Why does it work with 1.1 and not with 2.0?
I investigate and I found the line which is bugging. It is in the
file
SampleDesignerLoader.cs
The line is :
CodeTypeDeclaration td = cds.Serialize(manager, root) as
CodeTypeDeclaration;
Is there a difference between the function serialize in .net 1.1 and
2.0?
I need to work with dot net 2.0. It is a requirement. So I need
really
your help to know how can I fix my problem.
Thank you very much