Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 881 Bytes

how-to-add-native-dll-to-global-assembly-cache.md

File metadata and controls

25 lines (18 loc) · 881 Bytes
description title ms.custom ms.date helpviewer_keywords ms.assetid
Learn more about: How to: Add Native DLL to Global Assembly Cache
How to: Add Native DLL to Global Assembly Cache
get-started-article
11/04/2016
DLLs [C++], native
GAC (global assembly cache), loading native DLLs
native DLLs [C++]
25e8d78a-b197-4269-b4e9-237a544ab3c8

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)