gactool 0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global gactool --version 0.0.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local gactool --version 0.0.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=gactool&version=0.0.1
nuke :add-package gactool --version 0.0.1

Gac Tool

Gac tool is a dotnet tool for installing and uninstalling .NET Framework assemblies to the GAC (Global Assembly Cache)

Installation

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

dotnet gac install <assembly path>

Assembly uninstall

dotnet gac uninstall <assembly name>

Troubleshooting

If a message like this appears when running dotnet gac

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.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.0.4 2,411 2/9/2024
0.0.3 142 2/8/2024
0.0.2 153 2/8/2024
0.0.1 160 2/7/2024