SOLVED

Problem: Azure DevOps Agent CI Build of BizTalk Flat File Schema Results in Bad Schema in Assembly

Copper Contributor

We are running a self-hosted Azure DevOps Agent to execute source compilation for BizTalk 2020. The source code from BizTalk 2013 R2 has been upgraded to Visual Studio 2019 with BizTalk 2020 Development Tools and SDK and the BizTalk Server Extension. When several positional Flat File schemas are compiled in a remote desktop session on our build servers, the assembly produced contains a correct XSD of the schema as viewed through the BizTalk Administration console. However, when the agent builds the assembly, the resulting embedded XSD has a consistent error. The annotations of every field elements is missing its sequence_number attribute in the <fieldinfo /> element. This occurs for every field element in the flat file XSD in the resulting assembly, and leads to errors in pipeline processing in BizTalk Server 2020. 

 

See attachment for side by side comparison of missing attribute. The screen shots come from the Schemas dialog in the BizTalk admin console.

 

Has anyone seen such behavior before when building with TFS or Azure DevOps agents? Is this specific to BizTalk flat files?

 

In an attempt to fix we logged onto a remote desktop session to the build servers with the service account under which the agents run. We opened VS2019 and built the solution. This resulted in good schemas in the assembly. That proves there is nothing wrong with our server configuration for compiling BizTalk solutions and project. We then restarted the agent services and then started a new instance of our CI/CD pipeline. The compile produced the same bad XSD in the assembly.

 

Thanks in advance for any help you can offer.

2 Replies
best response confirmed by toddob (Copper Contributor)
Yes. We opened a support incident and got the hotfix that is part of CU1.
1 best response

Accepted Solutions