Skip to content

Add GacAssembly

Apostolis Bekiaris edited this page Apr 26, 2020 · 2 revisions

external help file: XpandPwsh-help.xml Module Name: XpandPwsh online version: schema: 2.0.0

Add-GacAssembly

SYNOPSIS

Install assembly into the Global Assembly Cache.

SYNTAX

PathSet (Default)

Add-GacAssembly [-Path] <String[]> [[-InstallReference] <InstallReference>] [-Force] [-PassThru] [-WhatIf]
 [-Confirm] [<CommonParameters>]

LiteralPathSet

Add-GacAssembly [-LiteralPath] <String[]> [[-InstallReference] <InstallReference>] [-Force] [-PassThru]
 [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Install assembly into the Global Assembly Cache.

EXAMPLES

Example 1

PS C:\> Add-GacAssembly -Path c:\work\Xpand.XAF.Modules.Reactive.dll

Publish the c:\work\Xpand.XAF.Modules.Reactive.dll to the GAC.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Force

{{ Fill Force Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-InstallReference

{{ Fill InstallReference Description }}

Type: InstallReference
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-LiteralPath

{{ Fill LiteralPath Description }}

Type: String[]
Parameter Sets: LiteralPathSet
Aliases: PSPath

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-PassThru

{{ Fill PassThru Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Path

{{ Fill Path Description }}

Type: String[]
Parameter Sets: PathSet
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String[]

OUTPUTS

System.Reflection.AssemblyName

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally