Compartilhar via


How to: Add Native DLL to Global Assembly Cache

 

The latest version of this topic can be found at How to: Add Native DLL to Global Assembly Cache.

You can put a native DLL (not COM) into the Global Assembly Cache.

Example

/ASSEMBLYLINKRESOURCE lets you embed a native DLL in an assembly.

For more information, see /ASSEMBLYLINKRESOURCE (Link to .NET Framework Resource).

/ASSEMBLYLINKRESOURCE:MyComponent.dll  

See Also

Using C++ Interop (Implicit PInvoke)