I have the followinf configuration:
Visual Studio 2005 Solution #1, that I'll call "Launcher", which produces one EXE and two DLL's
Visual Studio 2005 Solution #2, that I'll call "Middleware", which produces one DLL and it references the two DLL's in "Launcher"
Visual Studio 2005 Solution #3, that I'll call "Report", which produces one DLL which references all of the DLL's in Launcher and Middleware.
All elements (EXE's and DLL's) are strongly named and have unique public keys.
If I compile all elements, and reploy all elements, everything works.
If I then compile Launcher and reploy Launcher (all three files), Report cannot be loaded. The error is:
{"Could not load type 'AxysReports.CSSI_cashEnvironmentManager' from assembly 'AxysCSSI_cash, Version=1.0.0.0, Culture=neutral, PublicKeyToken=bb9e4fc8d6e39f2f'.":"AxysReports.CSSI_cashEnvironmentManager"}
{"Could not load file or assembly 'LauncherInterfaces, Version=1.0.2762.24379, Culture=neutral, PublicKeyToken=119602bbf1593321' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"LauncherInterfaces, Version=1.0.2762.24379, Culture=neutral, PublicKeyToken=119602bbf1593321"}
My problem is that Report (and various future incarnations of it) will be distributed independently of Launcher. We are very careful to insure that we maintain "backward-compatibility using the old COM and COM+ type rules, so we do and will continue to insure that changes in Launcher don't break Report or Middleware.
If I cannot build and distribute Launcher independently of Report or Middleware because strong naming ties Report to a specific compilation instance of Luncher, then I'll have to move to a platform that allows this.
Can this project be saved
Thanks,
Jeff Griffith
CSSI