Service Fabric & VSTS: ##[error]Exception while parsing XML file: ... ApplicationManifest.xml

Quite frustrating issue - we built our solution just fine in Visual Studio, but as our Visual Studio Team Services instance were to deploy to Azure, it stumbled upon the ApplicationManifest.xml, saying that it had an exception parsing the document (and not much else). This is how we fixed it:


  1. Unload the service fabric project (.sfproj)
  2. Edit it
  3. Add AddCorrelationIds=false-attributes in the Globals Property Group:


Commit! Push! Deploy! ;-D

Thanks to Nick Randell for posting his findings at https://github.com/Azure/service-fabric-issues/issues/209 and to Kenneth Winner for clarifying some details!

Comments

Popular posts from this blog

Auto Mapper and Record Types - will they blend?

Unit testing your Azure functions - part 2: Queues and Blobs

Testing WCF services with user credentials and binary endpoints