fixed an error. Category missing in the project when serializing. Fix it simple by add the element to the root node:
project.cs:
public XmlElement Serialize () {
Version versionInfo = Util.GetTypeDescriptionProviderVersion ( this.GetType () );
XmlDocument doc = new XmlDocument ();
XmlElement root = doc.CreateElement ( "project" );
root.SetAttribute ( "name", Util.CheckRequired ( this, "name", this.Name ) );
// 1.3 introduced the queue and queue priority
if ( versionInfo.CompareTo ( new Version ( "1.3" ) ) >= 0 ) {
if ( !string.IsNullOrEmpty ( this.Queue ) )
root.SetAttribute ( "queue", this.Queue );
if(this.QueuePriority.HasValue )
root.SetAttribute ( "queuePriority", this.QueuePriority.Value.ToString ( ) );
XmlElement tele = doc.CreateElement ( "category" );
tele.InnerText = this.Category;
root.AppendChild( tele ); // added
No files are attached