Questions tagged [side-by-side]

Side-by-side Assemblies are a Microsoft Windows solution that reduces versioning conflicts in Windows-client applications.

Side-By-Side (SxS) assemblies allow application developers to isolate the DLL resources used by their application and avoid "DLL-Hell" and other COM compatibility issues caused by multiple applications using different versions of dependency DLL files.

With Windows, application developers can build isolated applications that are fully self-describing and unaffected by changes to the registry, other applications, or other versions of assemblies running on the system. Application authors and administrators can use manifests to manage the sharing of side-by-side assemblies after deployment on either a global or per-application basis.

See also Microsoft Learn article: Isolated Applications and Side-by-Side Assemblies

211 questions
42
votes
7 answers

Why installing vcredist_x86.exe doesn't fix SideBySide error when I develop an EXE on one machine and run it on another one?

Issue I wrote a C++ project called 'Foo' using Microsoft Visual Studio 2005 Verison 8.0.50727.762 (SP.050727-7600) on Windows XP Professional Version 2002 Service Pack 3. I built the project into Foo.exe. Then, I copied the file Foo.exe to a Windows…
Susam Pal
  • 32,765
  • 12
  • 81
  • 103
18
votes
2 answers

WiX project allowing side-by-side installation

I am in the process of creating an MSI for our product. I would like the product to be able to install side-by-side. So that I can install 1.0.0 first and later can add 1.0.1 so that the two versions are both installed. I am using WiX to create the…
Gluip
  • 2,917
  • 4
  • 37
  • 46
17
votes
1 answer

Which tags are required in the manifest for registration free COM?

TL;DR Do all registry entries produced by regsvr32 need to be present in a SxS reg-free-COM manifest and vice versa? I'm trying to get registration free COM going for a third party component. Reading up on the subject, I find that there are several…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
13
votes
2 answers

Visual Studio 2012 Side by side configuration is incorrect

When I run Visual Studio 2012 Professional I get a side by side configuration error message. Message: "C:\Program Files\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe The application has failed to start because its side-by-side configuration is…
Ahmed Hamdy
  • 183
  • 1
  • 1
  • 6
12
votes
3 answers

How to add manifest to a .NET DLL?

I have a c# class library project that uses a COM dll registered on the system. I now want to deploy the COM dll as a side-by-side assembly, so I don't have to register it, or interfere with other applications that might use a different version of…
P a u l
  • 7,805
  • 15
  • 59
  • 92
11
votes
1 answer

Java SxS (side by side) configuration

I am facing a very obscure issue, while I am trying to run a java app in Windows, Side by Side (SxS). I have done all the preparation creating the java.exe.config and java.exe.manifest files, which I have in the same folder with the JRE. The…
nikkatsa
  • 1,751
  • 4
  • 26
  • 43
10
votes
2 answers

RegFree COM working from C#, NOT working from VBA

I'm curently trying to get registration-free COM working with Excel as the client, and a .NET dll as the server. Currently I'm simply trying to get a proof-of-concept working but am having trouble. Obviously, as I am using Excel, I can't simply use…
Simon Cowen
  • 1,903
  • 16
  • 20
10
votes
1 answer

Binary compiled for VS2008 needs DebugCRT side-by-side assembly, doesn't work in VS2010

I'm working with VS2010 on a project that uses Havok, and the latest release only has VS2008 and earlier binaries. The embedded manifest generated by VS contains the following
atarck
  • 101
  • 1
  • 3
10
votes
1 answer

.NET Core + .NET 4 In Process Side By Side Execution?

Running on Windows, does a .NET Core process support in process side by side execution of .NET 4 as described here: https://learn.microsoft.com/en-us/dotnet/framework/deployment/in-process-side-by-side-execution Thanks
David Hardin
  • 167
  • 1
  • 6
8
votes
1 answer

LoadLibraryEx ignores side-by-side manifest

Does LoadLibraryEx function use side-by-side manifests? I have bar.dll with embedded SxS manifest, and that manifest describes version of this bar.dll, other dll file foo.dll has manifest that lists bar.dll as dependency, with specified version. But…
Ibraim Ganiev
  • 8,934
  • 3
  • 33
  • 52
8
votes
2 answers

How can we unit test our c++ COM code without registering the dlls?

We are trying to add unit testing to out legacy c++ COM application. We also need our build machines to be able to runt he unit tests to ensure each build hasn't introduced errors. However we don't want the build machines to have to register the…
8
votes
2 answers

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: Whare are Side-by-side assemblies? How does Windows deal…
Justin
  • 84,773
  • 49
  • 224
  • 367
7
votes
1 answer

What causes SXSTrace error "StartTrace failed ... Unknown Error"?

I'm here because of a sibe-by-side configuration error. When I try to launch a game, it pops a side-by-side configuration error. I try lots of stuff that didn't work, but then, I found this site:…
Slackware
  • 960
  • 1
  • 13
  • 29
7
votes
1 answer

Dependency Walker Error: The Side-by-Side configuration information for "ABC.DLL" contains errors

I am running a program that I built in Visual Studio 2010 which uses a third party DLL "ABC.DLL". I am on Windows 7 64-bits. However, it fails to run due to one DLL. When running Dependency walker on this DLL, i get the following error: Error: The…
7
votes
1 answer

Does anyone know which relation may exist between registration-free COM and drag/drop functionality?

Does anyone know which relation may exist between registration-free COM and drag/drop functionality? Specifically, we have a huge C++ CAD/CAM application comprising a number of EXEs and several hundreds DLLs. Many of them serve as COM servers (both…
Ilia
  • 425
  • 2
  • 10
1
2 3
14 15