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 你怎么麻烦这个?有没有办法在某种程度上逐步完成构建?
答案 0 :(得分:0)
看起来这是一个通过TFS2012的Web UI的错误。我遇到了同样的问题,并且必须在视觉工作室内完成。
一个不太有用的建议是升级到TFS2013(我无法确认它是否有效)。