Sysprogs forums › Forums › VisualGDB › XML error
- This topic has 1 reply, 2 voices, and was last updated 5 years, 11 months ago by support.
-
AuthorPosts
-
January 25, 2019 at 11:23 #23569MystikReasonsParticipant
I tried to find an replace an object but I selected the entire solution instead of a single file.
To undo those replacements I closed Visual Studio without saving.
Everytime I open the project now I get an XML error:
VisualGDB version: 5.4.100.2737
—————— System.InvalidOperationException ——————
System.InvalidOperationException: There is an error in XML document (99, 117). —> System.Xml.XmlException: An error occurred while parsing EntityName. Line 99, position 117.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.ParseEntityReference()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.ReadString()
at System.Xml.XmlTextReader.ReadString()
at System.Xml.XmlReader.ReadElementString()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read25_VirtualFileSnapshot(Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read26_VirtualDirectorySnapshot(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read26_VirtualDirectorySnapshot(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read26_VirtualDirectorySnapshot(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read30_ImportedProjectProfile(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read31_EmbeddedProfile(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read32_EmbeddedProfile()
— 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 BSPEngine.XmlTools.LoadObject[_Ty](String xmlFile, Type[] extraTypes)
at cl1..ctor(kg2 b, EmbeddedProjectSubsystemSettings c, r3 a)
at oj.b_2(kg2 b, r3 a)
at rp..ctor(VisualGDBProjectSettings2 a, om1 c, yp1 e, q2 f, r3 b, IDELevelProjectInfoForBuilding d)
at g82.m(j61 c, ProjectSettingsFileInfo b, kh2 a)
at zf.v2(Project b, kh2 a)
—————— Inner exception ——————
—————— System.Xml.XmlException ——————
System.Xml.XmlException: An error occurred while parsing EntityName. Line 99, position 117.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseEntityName()
at System.Xml.XmlTextReaderImpl.ParseEntityReference()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlReader.ReadString()
at System.Xml.XmlTextReader.ReadString()
at System.Xml.XmlReader.ReadElementString()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read25_VirtualFileSnapshot(Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read26_VirtualDirectorySnapshot(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read26_VirtualDirectorySnapshot(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read26_VirtualDirectorySnapshot(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read30_ImportedProjectProfile(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read31_EmbeddedProfile(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderEmbeddedProfile.Read32_EmbeddedProfile()Im using VisualGDB version 5.4 build 2737 and Visual Studio 2017 15.9.6
If I try to build the project I get every time the same error: C:\Program Files (x86)\Sysprogs\VisualGDB\MSBuild\Targets\external.targets(6,3): error : There is an error in XML document (99, 117).
And if I try to open the VisualGDB project properties I get an empty page with just the debug/release configuration combobox but nothing else
January 25, 2019 at 17:20 #23571supportKeymasterHi,
Most likely you have corrupted some XML files during the find-and-replace. Please try restoring your project from a backup and also reinstalling VisualGDB to fix any corrupt global files.
-
AuthorPosts
- You must be logged in to reply to this topic.