Assembly version compatibility issue

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Bob (bobatkpmg_at_yahoo.com)
Date: 06/02/04


Date: Wed, 2 Jun 2004 09:46:15 -0500

I have a common assembly DLL that's installed into GAC (using msi created by
a setup project). It contains classes used by all the applications we have.
This works well but when I increase the version number (say, from 1.0.0 to
1.01), all existing applications have to be recompiled even if the change to
the assembly is to add new classes (that is, no change to existing classes).
I'd think there should be a way to make this version compatible. I have to
increase the version # for the msi to automatically uninstall the older DLL
and install the newer DLL properly when it's deployed.

Could anyone give me any suggestions? My goal is to keep the existing
client application intact (no recompilation) when new features are added to
the common assembly (that is, no change to any existing public interfaces in
the assembly).

Thanks
Bob



Relevant Pages

  • Re: Uninstall COM DLL using .NET Setup msi
    ... The default behavior for MSI setups is that if you install and register the ... remove the DLL. ...
    (microsoft.public.dotnet.framework.setup)
  • Re: Cant get software to install with GPO
    ... Don't forget you can only assign applications to us both computers or ... applications to them. ... another application installed on user computer with MSI Studio PRO ... I just needed to install an applications just for managers within the ...
    (microsoft.public.windows.group_policy)
  • Re: Python DLL in Windows Folder
    ... with the old DLL. ... the requirement for backwards compatibility is not normative. ... I can install in according to 2.6 is the System folder. ... applications", not "to ensure backward compatibility with the old DLL". ...
    (comp.lang.python)
  • Re: PSAPI.DLL Corrupt?
    ... I have none of these applications, nor do I have any other instance of ... but it also results in the same registration error. ... do not help with the install issue I'm seeing. ... It seems that this task creates a "working" dll ...
    (microsoft.public.windows.server.general)
  • Assembly version compatibility issue
    ... I have a common assembly DLL that's installed into GAC (using msi created by ... It contains classes used by all the applications we have. ... and install the newer DLL properly when it's deployed. ...
    (microsoft.public.dotnet.framework.aspnet)