.net - Some kind of error, Possibly When Viewing a Windows Form in the Designer -


Although I have solved this problem, but it has returned:

for the property Code generation 'selected people' failed. ECS, version = 1.0.0.0, culture = neutral, public keynote = null 'is not marked as serializable.'

The asset error message on the property is a list (of the person) and for some reasons it triggers this error, everything I do, and is really unique.

Here's a bit more information about answering the problem.

Yes, this design takes place during the time, it is basically a disclosure that contains a user control in which there is a selected property, sometimes even when I do not have the focus either form, if I try to compile / run and just one OK, ECS in message message box. Come with Antiques. Countermand Professional should be just one LINQ in the SQL generated category, it should not make any difference to the problem, although I've added the feature before posting.

The reason for this is that the designer tries to retain the property on the right, and for this, there is a serialization. Using this attribute, I am trying to hide the property from the designer.

  & lt; Designer serialization visibility (Designer Cyrilization Visibility.Hird) & gt; _ & Lt; Browsable (false) & gt; _ Public property selected people () return as the list (of the person) _Selected people set the end (by the value of the list (as of the person)) _SelectedPeople = value expired property  

It was working earlier but for some unknown reasons it was resumed.

If all of you know anything about deciding it then I will apreciate.

Thanks

Designers do not always give exact error messages. When the designer throws an error like this, it is often best to see what you have recently changed in control. It is likely to happen completely that nothing has to be mentioned with the error message.

In addition to this, the designer sometimes gets in bad condition and throws an error message Sometimes, things are cleaned up by restarting and rebuilding.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -