System.Xml.XmlException
-
Heeeelp! This error occured when I created a new form and tried to build the solution. I did absolutely no changes to the form, just created it and tried to build. Help!
Error 1 The "GenerateApplicationManifest" task failed unexpectedly. System.Xml.XmlException: Root element is missing. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at Microsoft.Build.Tasks.Deployment.ManifestUtilities.TrustInfo.Read(Stream s, String xpath) at Microsoft.Build.Tasks.Deployment.ManifestUtilities.TrustInfo.Read(String path) at Microsoft.Build.Tasks.GenerateApplicationManifest.AddClickOnceFiles(ApplicationManifest manifest) at Microsoft.Build.Tasks.GenerateApplicationManifest.BuildApplicationManifest(ApplicationManifest manifest) at Microsoft.Build.Tasks.GenerateApplicationManifest.OnManifestLoaded(Manifest manifest) at Microsoft.Build.Tasks.GenerateManifestBase.BuildManifest() at Microsoft.Build.Tasks.GenerateManifestBase.Execute() at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
---- Dim Sleepy as Boolean = True If Me.Sleepy = True Then Goto Sleep End If ---- -
Heeeelp! This error occured when I created a new form and tried to build the solution. I did absolutely no changes to the form, just created it and tried to build. Help!
Error 1 The "GenerateApplicationManifest" task failed unexpectedly. System.Xml.XmlException: Root element is missing. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at Microsoft.Build.Tasks.Deployment.ManifestUtilities.TrustInfo.Read(Stream s, String xpath) at Microsoft.Build.Tasks.Deployment.ManifestUtilities.TrustInfo.Read(String path) at Microsoft.Build.Tasks.GenerateApplicationManifest.AddClickOnceFiles(ApplicationManifest manifest) at Microsoft.Build.Tasks.GenerateApplicationManifest.BuildApplicationManifest(ApplicationManifest manifest) at Microsoft.Build.Tasks.GenerateApplicationManifest.OnManifestLoaded(Manifest manifest) at Microsoft.Build.Tasks.GenerateManifestBase.BuildManifest() at Microsoft.Build.Tasks.GenerateManifestBase.Execute() at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound)
---- Dim Sleepy as Boolean = True If Me.Sleepy = True Then Goto Sleep End If ----Try killing off the
bin
folder in your project folder. If that doesn't work, move the project folder to the root of the drive and see what happens. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome