Shared Libraries

Discussions related to SoftPro Select Server development.

Moderator: Phil Barton

Post Reply
kwesterlage
Posts: 73
Joined: Thu May 21, 2015 2:28 pm

Shared Libraries

Post by kwesterlage » Tue Feb 23, 2016 12:32 pm

We are currently using two server packages and each one is referencing the same custom dll.
While working on the second server package, we added a few new fields to the custom dll and (without updating it for the first package) installed the second package.

The code in the non-updated server package is executed first, causing the "old" version of the dll to be loaded into the CLR and leaving our newly updated package without the fields we just added.

Is there a place we can store our shared dlls (to get them loaded before the package-specific version) so we don't have to re-deploy all of our server packages every time we change it?

BobRichards
Posts: 1009
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Shared Libraries

Post by BobRichards » Tue Feb 23, 2016 12:59 pm

This is a .NET question. There are .NET ways of loading specific assemblies into the Application Domain based on non-default criteria. Be aware that the order in which Select loads packages is indeterminate - do not depend on any specific order!
Bob Richards, Software Developer, SoftPro

Post Reply