Versioning Question

Jonathan Ruckert's Avatar

Jonathan Ruckert

14 Nov, 2014 05:55 AM


 We have got assembly versions updated using the build number and YML reference which is really great, however we were wondering if this is also possible on other files. For example we have a couple of other files (such as aspx/svc files) that contain an <%@ ServiceHost Language="C#" Service="<ClassName>, <Assembly>, <Version>"....>

We really need to update this version number, is there any way of doing this out of the box using the YML file, or do we need to update this using PowerShell in a pre-build statement?


  1. Support Staff 1 Posted by Feodor Fitsner on 14 Nov, 2014 05:47 PM

    Feodor Fitsner's Avatar

    Hi Jonathan,

    I think there might be a better approach to your problem. You can try using assembly redirection in web.config something like:

        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
            <bindingRedirect oldVersion="" newVersion="" />
  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:50 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac