在TFS网站队列构建弹出窗口中,MSBuild参数的正确格式是什么?我找不到任何文档,无论我传入什么,我都会收到这个错误
Exception Message: The build controller cannot deserialize the process parameters of the build. Make sure the process parameters are compatible with the assemblies on the build machine. Details: Data at the root level is invalid. Line 1, position 1. (type Exception)
Exception Stack Trace: at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.AddParameterValues(IDictionary`2 parameters, String processParameters)
at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.PrepareRequestForBuild(WorkflowManagerActivity activity, IBuildDetail build, WorkflowRequest request, IDictionary`2 dataContext)
at Microsoft.TeamFoundation.Build.Hosting.BuildWorkflowManager.TryStartWorkflow(WorkflowRequest request, WorkflowManagerActivity activity, BuildWorkflowInstance& workflowInstance, Exception& error, Boolean& syncLockTaken)
Inner Exception Details:
Exception Message: Data at the root level is invalid. Line 1, position 1. (type XmlException)
Exception Stack Trace: at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xaml.XmlCompatibilityReader.Read()
at MS.Internal.Xaml.Parser.XamlScanner.DoXmlRead()
at MS.Internal.Xaml.Parser.XamlScanner.Read()
at MS.Internal.Xaml.Parser.XamlPullParser.<Parse>d__0.MoveNext()
at MS.Internal.Xaml.NodeStreamSorter.StartNewNodeStreamWithSettingsPreamble()
at MS.Internal.Xaml.NodeStreamSorter..ctor(XamlParserContext context, XamlPullParser parser, XamlXmlReaderSettings settings, Dictionary`2 xmlnsDictionary)
at System.Xaml.XamlXmlReader.Initialize(XmlReader givenXmlReader, XamlSchemaContext schemaContext, XamlXmlReaderSettings settings)
at System.Xaml.XamlServices.Load(XmlReader xmlReader)
at Microsoft.TeamFoundation.Build.Workflow.WorkflowHelpers.DeserializeProcessParameters(String parameterValues)
at Microsoft.TeamFoundation.Build.Hosting.BuildControllerWorkflowManager.AddParameterValues(IDictionary`2 parameters, String processParameters)我正在使用下面的模板XML Build Template,你是如何解决这个问题的?有没有办法在构建过程中以某种方式逐步完成呢?
发布于 2014-12-03 19:28:54
这看起来像是TFS2012的web用户界面中的一个错误。我也遇到了同样的问题,不得不在visual studio中完成。
一个不太有用的建议是升级到TFS2013 (我不确定它是否有效)。
https://stackoverflow.com/questions/23616166
复制相似问题