2014-05-12 9 views
0

TFS 웹 사이트 대기열 빌드 팝업에서 MSBuild 인수의 올바른 형식은 무엇입니까? 나는 항상 내가 어떻게 당신이 troubleshot 않는 다음과 같은 템플릿 XML Build Template 을 사용하고이 오류TFS WEbsite 빌드 인수

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) 

를 얻을 내가 전달 것을 모든 문서와 상관없이 찾을 수 있습니까? 어떻게 든 진행되는 동안 빌드를 단계적으로 수행 할 수있는 방법이 있습니까?

+2

매개 변수를 전달하지 않으면 빌드가 제대로 작동합니까? 오류에서 빌드 템플릿 문제처럼 보입니다. 어떤 빌드 템플릿을 사용하고 있습니까? –

+0

인수를 전달하지 않으면 문제없이 작동합니다. 사용자 정의 빌드 템플리트를 사용하고 있습니다. 빌드 템플릿의 문제를 해결할 때 어디서부터 시작해야할지 모르겠습니다. 문제가 아직 해결되지 않았다면 볼 수있는 간단한 바닐라가 있습니까? – Cac3a

+0

예, DefaultTemplate을 사용하거나 여기에 빌드 템플릿을 공유하여 도와 드리겠습니다. 감사. –

답변

0

TFS2012의 웹 UI를 통해 진행되는 버그입니다. 나는 같은 문제가 있었고 Visual Studio 내에서해야만했습니다. 여기

참조 링크 : https://social.msdn.microsoft.com/Forums/vstudio/en-US/feb004ca-d2da-48f1-a052-74ddd15beaf4/setting-msbuildarguments-in-queue-new-build-dialog-of-tfs-web-interface-dialog-fails?forum=tfsgeneral

A-그리 유용하지 추천 (그렇게된다면 내가 확신 할 수 없습니다) TFS2013로 업그레이드하는 것이 었습니다.