How to Add Side-by-Side (SXS) Assemblies to a Cloudhouse Compatibility Container

Save to PDF

Applies to: Cloudhouse Containers

13/07/2019 Cliff Hobbs   ID: 266769

Purpose

The purpose of this article is to detail how to add Side-by-Side (SXS) assemblies to a Cloudhouse Compatibility Container™.

Introduction

The Cloudhouse Auto Packager does not configure support for Side-by-Side assemblies. If your application uses Side-by-Side Assemblies, you must add these to the Container as private assemblies.

The following error message will appear in the EventViewer, from which you can determine what assemblies you need along with the version:

Activation context generation failed for "DemoApplication.exe". Dependent Assembly TowersWatson.Components.Licensing.ComSRM,publicKeyToken="97c62a3c455f5e0d”, type="win32",version="2.0.5.48761" could not be found. Please use sxstrace.exe for detailed diagnosis.

Step-by-step process

To add Side-by-Side assemblies to a Cloudhouse Container:

  1. Place the missing DLLs associated with the run-times in the same folder as the executable being run. Alternatively, use Procmon to monitor the application process along with csrss.exe to determine where the application is looking for these DLLs.
  2. Locate the DLLs (typically located in C:\Windows\Assembly or C:\Windows\WinSXS folders).
  3. Copy the DLLs (and .MANIFEST if required) into the same folder as the application executable.
Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support