How to register dll in GAC with .Net MSI

When we create .net MSI, what are the steps to register a DLL in the GAC? I want msi to copy and register a DLL. Is it possible?

+3
source share
2 answers

if you have VS Setup Project

After adding outputs and files, etc.

Right click on your root msi project application and select view, thenFile System

Here you will see where all your files are installed, and also pay attention to Global Assembly Cache Folder. By dragging the DLL files that you want to use in the GAC to this folder, when you start your msi, it will install all your DLL files in the GAC.

, DLL, GAC, , .

- VS-, GAC.

+4

, , .msi(, VS, WiX ), GAC.

Gacutil.exe, GAC.

0
source

Source: https://habr.com/ru/post/1796351/


All Articles