What are regsvr32, regasm and gacutil using for?
Regasm.exe is used to create COM Callable Wrapper (CCW) around .NET assemblies.
So to register an unmanaged DLL you can use regsvr32.exe.
Gacutil tool allows you to view and manipulate the contents of GAC( globlal assembly cache).
所以简单来说:
- 如果要注册.NET的托管程序集(managed assemblies)DLL文件到windows操作系统,就用Gacutil
- 如果要注册类似WIN32的非托管程序集(unmanaged assemblies)DLL文件到windows操作系统,就用regsvr32