SSIS DevOps Tools Build SSIS task version 1.* fails ##[error] System.Xml.XmlExce

I am trying to update from the SSIS DevOps Tools Build SSIS task version 0.* to 1.*.

My build which works in version 0.* and locally in Visual Studio . It fails when using version 1.* of the Build SSIS task on the windows-2019 Agent, I have tried other agents but still get the same error.

the error is