>I have multiple projects that reference a dll say common.dll. Now I
> would like to change common.dll in a backward compatible way and drop
[quoted text clipped - 14 lines]
> 14th March
> Common.dll compiled to v1.1.3
>>I have multiple projects that reference a dll say common.dll. Now I
>> would like to change common.dll in a backward compatible way and drop
[quoted text clipped - 17 lines]
> Incrementing the AssemblyVersion breaks backwards compatibility. That't
> what AssemblyVersion is for.
I think that a manifest can be embedded into the updated dll, stating that
it is a drop-in replacement for the previous version. But I can't find the
syntax for that right now.
> You should not ever allow a .dll to use automatic versioning for the
> AssemblyVersion. The fact that Visual Studio does that by default is a
> bug.
Hardly. You should never deploy differing binaries with the same version
number.
David Browne - 13 Mar 2007 04:55 GMT
>>>I have multiple projects that reference a dll say common.dll. Now I
>>> would like to change common.dll in a backward compatible way and drop
[quoted text clipped - 21 lines]
> it is a drop-in replacement for the previous version. But I can't find
> the syntax for that right now.
Here's the reference:
Redirecting Assembly Versions
http://msdn2.microsoft.com/en-us/library/7wd6ex19.aspx
>> You should not ever allow a .dll to use automatic versioning for the
>> AssemblyVersion. The fact that Visual Studio does that by default is a
>> bug.
>
> Hardly. You should never deploy differing binaries with the same version
> number.
That's your choice, but may often want to deploy an updated library without
recompiling the client programs. Of course the new version should have an
incremented AssemblyFileVersion.
David