Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tonyredondo/gactool
dotnet tool for installing and uninstalling .NET Framework assemblies to the GAC (Global Assembly Cache)
https://github.com/tonyredondo/gactool
Last synced: about 1 month ago
JSON representation
dotnet tool for installing and uninstalling .NET Framework assemblies to the GAC (Global Assembly Cache)
- Host: GitHub
- URL: https://github.com/tonyredondo/gactool
- Owner: tonyredondo
- License: apache-2.0
- Created: 2024-02-07T22:47:48.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-09T17:41:20.000Z (9 months ago)
- Last Synced: 2024-02-10T00:14:49.645Z (9 months ago)
- Language: C#
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gac Tool
Gac tool is a dotnet tool for installing and uninstalling .NET Framework assemblies to the GAC (Global Assembly Cache)## Installation
```shell
dotnet tool update -g gactool
```## Usage
The tool require elevated permissions so an UAC prompt may appear if the tool is not being executed in an Administrator context already.
### Assembly install
```shell
dotnet gac install
```### Assembly uninstall
```shell
dotnet gac uninstall
```## Troubleshooting
If a message like this appears when running `dotnet gac`
```shell
System.ComponentModel.Win32Exception (740): An error occurred trying to start process 'C:\Users\Usuario\.dotnet\tools\dotnet-gac.exe' with working directory 'C:\temp\GacTool\artifacts'. The requested operation requires elevation.
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at Microsoft.DotNet.Cli.Utils.Command.Execute(Action`1 processStarted)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, TimeSpan startupTime, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
```Open a new console with Administrator permissions.