How to: Add Native DLL to Global Assembly Cache

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

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

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

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

/ASSEMBLYLINKRESOURCE:MyComponent.dll  

Using C++ Interop (Implicit PInvoke)

Show: