Shared Assemblies

A shared assembly is an assembly available for use by multiple applications on the computer. On Windows Vista and Windows XP, side-by-side assemblies can be installed as shared assemblies. Shared side-by-side assemblies are not registered globally on the system, but they are globally available to applications that specify a dependence on the assembly in manifests. Multiple versions of side-by-side assemblies can be shared by different applications running at the same time. For more information, see About Isolated Applications and Side-by-Side Assemblies. For example, the supported Microsoft side-by-side assemblies shipped with Windows XP are typically used as shared assemblies by multiple applications.

Shared side-by-side assemblies are installed in the WinSxS folder. Assembly publishers, applications, and administrators can change the version of side-by-side assembly dependencies after deployment through the configuration. Shared side-by-side assemblies can be installed by an operating system update, or by a Windows Installer package that installs or updates an application. For more information, see Installation of Win32 Assemblies.

Prior to Windows XP, shared assemblies were registered globally and installed in the Windows System folder. In this case, the latest installed version of the assembly is available to any application that binds to it. A side-by-side assembly can also be installed as a private assembly for the exclusive use of an application. For more information, see Private Assemblies.

 

 

Send comments about this topic to Microsoft

Build date: 7/8/2010