" GenerateWinPRTManifest"任务意外失败

时间:2014-03-12 00:18:25

标签: windows-phone-8

我正在尝试构建一个WP8应用程序并且我一直收到以下错误:

有什么想法吗?

Error   12  The "GenerateWinPRTManifest" task failed unexpectedly.
System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
   at Microsoft.Silverlight.Build.Tasks.GenerateWinPRTManifest.IsManifestUptoDate()
   at Microsoft.Silverlight.Build.Tasks.GenerateWinPRTManifest.SaveDocumentIfUpdated()
   at Microsoft.Silverlight.Build.Tasks.GenerateWinPRTManifest.ExecuteImplementation()
   at Microsoft.Silverlight.Build.Tasks.GenerateWinPRTManifest.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()

1 个答案:

答案 0 :(得分:1)

不确定错误但删除Bin和obj文件夹的内容并重建解决了这个问题。