Skip to content

remove absolute urls #10355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ms.author: "ronpet"
---
# How to: Install an assembly into the global assembly cache

The global assembly cache (GAC) stores assemblies that several applications share. Install an assembly into the [global assembly cache](https://docs.microsoft.com/en-us/dotnet/framework/app-domains/gac) with one of the following components:
The global assembly cache (GAC) stores assemblies that several applications share. Install an assembly into the [global assembly cache](gac.md) with one of the following components:
- [Windows Installer](#windows-installer)
- [Global assembly cache tool](#global-assembly-cache-tool)

Expand All @@ -23,7 +23,7 @@ The global assembly cache (GAC) stores assemblies that several applications shar

## Windows Installer

[Windows Installer](https://docs.microsoft.com/en-us/windows/desktop/Msi/installation-of-assemblies-to-the-global-assembly-cache), the Windows installation engine, is the recommended way to add assemblies to the global assembly cache. Windows Installer provides reference counting of assemblies in the global assembly cache and other benefits. To create an installer package for Windows Installer, use the [WiX toolset extension for Visual Studio 2017](https://marketplace.visualstudio.com/items?itemName=RobMensching.WixToolsetVisualStudio2017Extension).
[Windows Installer](/windows/desktop/Msi/installation-of-assemblies-to-the-global-assembly-cache), the Windows installation engine, is the recommended way to add assemblies to the global assembly cache. Windows Installer provides reference counting of assemblies in the global assembly cache and other benefits. To create an installer package for Windows Installer, use the [WiX toolset extension for Visual Studio 2017](https://marketplace.visualstudio.com/items?itemName=RobMensching.WixToolsetVisualStudio2017Extension).

## Global assembly cache tool

Expand All @@ -40,7 +40,7 @@ gacutil -i <assembly name>

In this command, *\<assembly name>* is the name of the assembly to install in the global assembly cache.

If *gacutil.exe* isn't in your system path, use the [Developer Command Prompt for VS *\<version>*](https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs).
If *gacutil.exe* isn't in your system path, use the [Developer Command Prompt for VS *\<version>*](../tools/developer-command-prompt-for-vs.md).

The following example installs an assembly with the file name *hello.dll* into the global assembly cache.

Expand All @@ -56,4 +56,4 @@ gacutil -i hello.dll
- [Working with assemblies and the global assembly cache](working-with-assemblies-and-the-gac.md)
- [How to: Remove an assembly from the global assembly cache](how-to-remove-an-assembly-from-the-gac.md)
- [Gacutil.exe (Global assembly cache tool)](../tools/gacutil-exe-gac-tool.md)
- [How to: Sign an assembly with a strong name](how-to-sign-an-assembly-with-a-strong-name.md)
- [How to: Sign an assembly with a strong name](how-to-sign-an-assembly-with-a-strong-name.md)