Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are Side-by-side Assemblies?

I came across Side-by-side Assemblies for the first time today while trying to install a Debug install set to a test machine. I managed it in the end, but was left with several questions:

  1. Whare are Side-by-side assemblies?
  2. How does Windows deal with these assemblies differently from other assemblies
  3. How do applications depending on Side-by-side assemblies deal with these differently from normal assemblies
  4. Under what situations might someone want to create a Side-by-side assembly?
like image 352
Justin Avatar asked Aug 26 '09 14:08

Justin


People also ask

What is side-by-side install?

Essentially, side-by-side assemblies are a way to ensure that a given application will always use a specific version of a DLL, particularly Windows system DLLs (such as the Common Controls), no matter the Service Packs, Updates or new applications installed after it.

What is activation context?

Activation contexts are data structures in memory containing information that the system can use to redirect an application to load a particular DLL version, COM object instance, or custom window version.


1 Answers

A starting point for understanding side-by-side assemblies and what they're for would probably be the "Isolated Applications and Side-by-Side Assemblies" reference on MSDN.

Essentially, side-by-side assemblies are a way to ensure that a given application will always use a specific version of a DLL, particularly Windows system DLLs (such as the Common Controls), no matter the Service Packs, Updates or new applications installed after it.

Other links of interest:

  • MSDN: Side-by-side assemblies (windows)
  • Wikipedia: Side-by-side Assembly
like image 136
Rob Avatar answered Sep 28 '22 23:09

Rob