Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 800 Bytes

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

File metadata and controls

24 lines (17 loc) · 800 Bytes
title How to: Add Native DLL to Global Assembly Cache
ms.custom get-started-article
ms.date 11/04/2016
helpviewer_keywords
DLLs [C++], native
GAC (global assembly cache), loading native DLLs
native DLLs [C++]
ms.assetid 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)