2
votes

I am using VSTS to setup CI/CD for service fabric build and deployment. First deploy goes through without error but second update deployment gives me below error.

The content in ConfigPackage Name:Config and Version:1.0.0.20180312.1 in Service Manifest 'SampleWebPkg' has changed, but the version number is the same.

I followed the below instruction

https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-app-with-cicd-vsts

1

1 Answers

2
votes

This happens because you have updated the service binaries and didn't update the manifests, the manifest points to the same version as before but the binaries are different.

An example how this might occur is when you rebuild your service and deploy a new version without changing the version numbers in the manifest files

Check:

  • If the service version in the servicesmanifest.xml has been updated compared to previous one, if not, upgrade it.

  • The service version in applicationmanifest.xml has been updated compared to previous one