diff --git a/EduNetworkBuilder/NetworkComponent.cs b/EduNetworkBuilder/NetworkComponent.cs index 823e992..1797a65 100644 --- a/EduNetworkBuilder/NetworkComponent.cs +++ b/EduNetworkBuilder/NetworkComponent.cs @@ -8,10 +8,12 @@ using System.Runtime.Serialization.Formatters.Binary; using System.Runtime.Serialization; using System.IO; using System.Xml; - +using System.Xml.Serialization; namespace EduNetworkBuilder { + [XmlInclude(typeof(NetworkLink))] + [XmlInclude(typeof(NetworkDevice))] [Serializable] public class NetworkComponent {