我正在尝试构建一个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()发布于 2014-03-12 05:26:20
不确定出了什么问题,但是删除Bin和obj文件夹的内容并重新构建解决了这个问题。
https://stackoverflow.com/questions/22339467
复制相似问题