Hi I'm getting the following error for a small subset of config transform tasks. I'm not sure what it's about.
2019-08-01T17:54:13.7301418Z ##[section]Starting: eGateTerminal DEPGATE1 FA0 BC0 - Test
2019-08-01T17:54:13.7305072Z ==============================================================================
2019-08-01T17:54:13.7305226Z Task : Config Transformation
2019-08-01T17:54:13.7305346Z Description : Easy and fast transform your xml based configuration files
2019-08-01T17:54:13.7305456Z Version : 1.0.5
2019-08-01T17:54:13.7305550Z Author : Saeid Babaei
2019-08-01T17:54:13.7305690Z Help : More Information
2019-08-01T17:54:13.7305825Z ==============================================================================
2019-08-01T17:54:13.7317830Z Preparing task execution handler.
2019-08-01T17:54:14.1220301Z Executing the powershell script: C:\BuildAgent_work_tasks\ConfigTransformation_ea0af5c0-9b4e-11e6-b1b5-7b777069d24a\1.0.5\ConfigTransform.ps1
2019-08-01T17:54:14.1321741Z ##[error]System.Management.Automation.MethodInvocationException: Exception calling "Load" with "1" argument(s): "Name cannot begin with the ',' character, hexadecimal value 0x2C. Line 28, position 75." ---> System.Xml.XmlException: Name cannot begin with the ',' character, hexadecimal value 0x2C. Line 28, position 75.
2019-08-01T17:54:14.1332323Z at System.Xml.XmlTextReaderImpl.Throw(Exception e)
2019-08-01T17:54:14.1378130Z at System.Xml.XmlTextReaderImpl.ParseAttributes()
2019-08-01T17:54:14.1378344Z at System.Xml.XmlTextReaderImpl.ParseElement()
2019-08-01T17:54:14.1378490Z at System.Xml.XmlTextReaderImpl.ParseElementContent()
2019-08-01T17:54:14.1378652Z at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
2019-08-01T17:54:14.1378822Z at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
2019-08-01T17:54:14.1378963Z at System.Xml.XmlDocument.Load(XmlReader reader)
2019-08-01T17:54:14.1379131Z at Microsoft.Web.XmlTransform.XmlFileInfoDocument.LoadFromTextReader(TextReader textReader)
2019-08-01T17:54:14.1379301Z at Microsoft.Web.XmlTransform.XmlFileInfoDocument.LoadFromFileName(String filename)
2019-08-01T17:54:14.1379478Z at Microsoft.Web.XmlTransform.XmlFileInfoDocument.Load(String filename)
2019-08-01T17:54:14.1379613Z at Load(Object , Object[] )
2019-08-01T17:54:14.1379788Z at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
2019-08-01T17:54:14.1379994Z --- End of inner exception stack trace ---
2019-08-01T17:54:14.1380173Z at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments)
2019-08-01T17:54:14.1380616Z at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodInformation[] methodInformation, PSMethodInvocationConstraints invocationConstraints, Object[] arguments)
2019-08-01T17:54:14.1382938Z at System.Management.Automation.DotNetAdapter.MethodInvoke(PSMethod method, PSMethodInvocationConstraints invocationConstraints, Object[] arguments)
2019-08-01T17:54:14.1383185Z at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, PSMethodInvocationConstraints invocationConstraints, Object[] arguments)
2019-08-01T17:54:14.1383389Z at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)
2019-08-01T17:54:14.1383558Z at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)
2019-08-01T17:54:14.1383741Z at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
2019-08-01T17:54:14.1387831Z ##[error]PowerShell script completed with 1 errors.
2019-08-01T17:54:14.1388659Z ##[section]Finishing: eGateTerminal DEPGATE1 FA0 BC0 - Test
Hi I'm getting the following error for a small subset of config transform tasks. I'm not sure what it's about.
2019-08-01T17:54:13.7301418Z ##[section]Starting: eGateTerminal DEPGATE1 FA0 BC0 - Test 2019-08-01T17:54:13.7305072Z ============================================================================== 2019-08-01T17:54:13.7305226Z Task : Config Transformation 2019-08-01T17:54:13.7305346Z Description : Easy and fast transform your xml based configuration files 2019-08-01T17:54:13.7305456Z Version : 1.0.5 2019-08-01T17:54:13.7305550Z Author : Saeid Babaei 2019-08-01T17:54:13.7305690Z Help : More Information 2019-08-01T17:54:13.7305825Z ============================================================================== 2019-08-01T17:54:13.7317830Z Preparing task execution handler. 2019-08-01T17:54:14.1220301Z Executing the powershell script: C:\BuildAgent_work_tasks\ConfigTransformation_ea0af5c0-9b4e-11e6-b1b5-7b777069d24a\1.0.5\ConfigTransform.ps1 2019-08-01T17:54:14.1321741Z ##[error]System.Management.Automation.MethodInvocationException: Exception calling "Load" with "1" argument(s): "Name cannot begin with the ',' character, hexadecimal value 0x2C. Line 28, position 75." ---> System.Xml.XmlException: Name cannot begin with the ',' character, hexadecimal value 0x2C. Line 28, position 75. 2019-08-01T17:54:14.1332323Z at System.Xml.XmlTextReaderImpl.Throw(Exception e) 2019-08-01T17:54:14.1378130Z at System.Xml.XmlTextReaderImpl.ParseAttributes() 2019-08-01T17:54:14.1378344Z at System.Xml.XmlTextReaderImpl.ParseElement() 2019-08-01T17:54:14.1378490Z at System.Xml.XmlTextReaderImpl.ParseElementContent() 2019-08-01T17:54:14.1378652Z at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) 2019-08-01T17:54:14.1378822Z at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) 2019-08-01T17:54:14.1378963Z at System.Xml.XmlDocument.Load(XmlReader reader) 2019-08-01T17:54:14.1379131Z at Microsoft.Web.XmlTransform.XmlFileInfoDocument.LoadFromTextReader(TextReader textReader) 2019-08-01T17:54:14.1379301Z at Microsoft.Web.XmlTransform.XmlFileInfoDocument.LoadFromFileName(String filename) 2019-08-01T17:54:14.1379478Z at Microsoft.Web.XmlTransform.XmlFileInfoDocument.Load(String filename) 2019-08-01T17:54:14.1379613Z at Load(Object , Object[] ) 2019-08-01T17:54:14.1379788Z at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments) 2019-08-01T17:54:14.1379994Z --- End of inner exception stack trace --- 2019-08-01T17:54:14.1380173Z at System.Management.Automation.DotNetAdapter.AuxiliaryMethodInvoke(Object target, Object[] arguments, MethodInformation methodInformation, Object[] originalArguments) 2019-08-01T17:54:14.1380616Z at System.Management.Automation.DotNetAdapter.MethodInvokeDotNet(String methodName, Object target, MethodInformation[] methodInformation, PSMethodInvocationConstraints invocationConstraints, Object[] arguments) 2019-08-01T17:54:14.1382938Z at System.Management.Automation.DotNetAdapter.MethodInvoke(PSMethod method, PSMethodInvocationConstraints invocationConstraints, Object[] arguments) 2019-08-01T17:54:14.1383185Z at System.Management.Automation.Adapter.BaseMethodInvoke(PSMethod method, PSMethodInvocationConstraints invocationConstraints, Object[] arguments) 2019-08-01T17:54:14.1383389Z at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) 2019-08-01T17:54:14.1383558Z at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame) 2019-08-01T17:54:14.1383741Z at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) 2019-08-01T17:54:14.1387831Z ##[error]PowerShell script completed with 1 errors. 2019-08-01T17:54:14.1388659Z ##[section]Finishing: eGateTerminal DEPGATE1 FA0 BC0 - Test