Hi, I am getting this error message, I can't work out how to fix it without deleting my library and settings.
Thanks
System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderProfile.Read5_Profile()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at Iros._7th.Util.Deserialize[T](Stream s) in c:\Iros\7thWrapperLib\Util.cs:line 10
at Iros._7th.Util.Deserialize[T](String file) in c:\Iros\7thWrapperLib\Util.cs:line 14
at Iros._7th.Workshop.fLibrary.fLibrary_Load(Object sender, EventArgs e) in c:\Iros\7thWorkshop\fLibrary.cs:line 107
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
After deleting my 7th workshop folder in roaming i get this error.
System.NullReferenceException: Object reference not set to an instance of an object.
at Iros._7th.Workshop.fLibrary.CheckAllowedActivate(Guid modID) in c:\Iros\7thWorkshop\fLibrary.cs:line 505
at Iros._7th.Workshop.fLibrary.ToggleActivateMod(Guid modID) in c:\Iros\7thWorkshop\fLibrary.cs:line 539
at Iros._7th.Workshop.fLibrary.DoModBarAction(pMod pm, ModBarAction a) in c:\Iros\7thWorkshop\fLibrary.cs:line 577
at Iros._7th.Workshop.pMod.bActivate_Click(Object sender, EventArgs e) in c:\Iros\7thWorkshop\pMod.cs:line 163
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)