We are setting up a new Helix based system, and are looking at making the development process as easy as possibly from a devOps point of view, I seem to have a disconnect however in assembly versions after the deploy.
For example we have updated a few packages to the latest version, Newtonsoft for example is now version 10.0.0 however the generic Sitecore install has binding mappings up to version 6.0.0.
Has anyone got a good way of collecting those binding mappings from the projects and having them deployed out into the Website root web.config?
The example that I'm talking for example about would be automatically changing the below:
<dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" /> <bindingRedirect oldVersion="0.0.0.0-188.8.131.52" newVersion="184.108.40.206" /> </dependentAssembly>
and updating it to the below based on an amalgamation I guess of all of the web config's from the different feature, foundation and project projects.
<dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" /> <bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" /> </dependentAssembly>
Any insight welcome.