The "RefreshSolutionFiles" task failed unexpectedly

Jun 11, 2009 at 8:47 PM

I am working on a 2008 Server. I know the security is a bit deeper but has anyone seen this after upgrading from the older stsdev2008 to the new by replacing the targets file?

Error 8 The "RefreshSolutionFiles" 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(String filename)
   at MicroLink.StsDev2008AddIn.DeploymentFiles.FeatureBuilder.UpdateElement(String targetAssembly, String directory)
   at MicroLink.StsDev2008AddIn.DeploymentFiles.FeatureBuilder.UpdateXmlFiles(String targetAssembly, String directory, String buildPath)
   at MicroLink.StsDev2008AddIn.DeploymentFiles.FeatureBuilder.UpdateXmlFiles(String targetAssembly, String directory, String buildPath)
   at MicroLink.StsDev2008AddIn.DeploymentFiles.FeatureBuilder.UpdateXmlFiles(String targetAssembly, String directory, String buildPath)
   at MicroLink.StsDev2008AddIn.DeploymentFiles.FeatureBuilder.Update(String projectPath, String buildPath, String targetName)
   at MicroLink.StsDev2008AddIn.BuildTasks.RefreshSolutionFiles.Execute()
   at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) ERx

Coordinator
Jun 16, 2009 at 8:35 PM

Delete the xml files that you find in the bin\[debug] folder and rebuild.