How to add side-by-side assemblies
The Auto Packager does not configure support for Side-by-Side assemblies, if your application uses Side-by-Side Assemblies they must be added to the Container as private assemblies.
The following error message will appear in the EventViewer, from here 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="188.8.131.52761" could not be found. Please use sxstrace.exe for detailed diagnosis.”
- Place the missing DLLS associated with the run-times in the same folder as the executable being run, or use Procmon to monitor the application process along with csrss.exe to determine where the application is looking for these DLLS.
- Locate the DLLS (located in C:\Windows\Assembly or C:\Windows\WinSXS)
- Copy the DLLs (and .MANIFEST if required) into the same directory as the application executable.