-
Side-by-side Assemblies(WinSxS)SysAdmin/규격 2013. 7. 10. 01:05
It was Microsoft's answer to DLL Hell that was introduced with Windows XP
Visual C++ 2005 is the first version of Visual C++ that uses side-by-side assemblies for the C/C++ runtime libraries.
where a DLL is stored for global access
Instead of using C:\Windows\System32, they are stored in the side-by-side directory, C:\Windows\winsxs(%SystemRoot%\WinSxS).
The search order for DLL's has changed with winsxs. Now side-by-side directories (\windows\winsxs) are searched even before the local application directory.
c.f. LD_LIBRARY_PATH
%ProgramFiles%\Microsoft Visual Studio 8\VC\redist
새로운 공유 라이브러리 파일을 인스톨
mt.exe -inputresource:mydll.dll;#1 -out:mydll.dll.manifest
* GAC(Global Assembly Cache)
C:>sn -k ShareDll.snk
C:>gacutil -i ShareDll.dll
4.0 - C:\Windows\Microsoft.NET\assembly\GAC_MSIL
3.5이하 - C:Windows\Assembly
운영체제가 설치된 디렉토리 아래의 assembly 서브 디렉토리
CodeBase
참조 사이트:
http://davidlenihan.com/2007/07/winsxs.html
http://blog.kalmbachnet.de/?postid=80
http://blog.naver.com/PostView.nhn?blogId=khihome&logNo=40179128432