Skip to content

Add AssemblyBindingRedirect

apobekiaris edited this page Sep 4, 2020 · 6 revisions

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

Add-AssemblyBindingRedirect

SYNOPSIS

Adds Assembly binding redirects for a list of packages.

SYNTAX

Id

Add-AssemblyBindingRedirect -Id <String> [-Version <String>] -ConfigFile <FileInfo> [-Culture <String>]
 -PublicToken <String> [<CommonParameters>]

File

Add-AssemblyBindingRedirect [-Version <String>] -ConfigFile <FileInfo> [-Culture <String>] -Assembly <FileInfo>
 [<CommonParameters>]

DESCRIPTION

Adds Assembly binding redirects for a list of packages.

EXAMPLES

Example 1

PS C:\> Get-XpandPackages| Add-AssemblyBindingRedirect -PublicToken (Get-XpandPublicKeyToken)

Get all Xpand Nuget Packages and add binding redirects to the config found in c:\

PARAMETERS

-Assembly

{{ Fill Assembly Description }}

Type: FileInfo
Parameter Sets: File
Aliases:

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

-ConfigFile

{{ Fill ConfigFile Description }}

Type: FileInfo
Parameter Sets: (All)
Aliases:

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

-Culture

{{ Fill Culture Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-Id

{{ Fill Id Description }}

Type: String
Parameter Sets: Id
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-PublicToken

{{ Fill PublicToken Description }}

Type: String
Parameter Sets: Id
Aliases:

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

-Version

{{ Fill Version Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
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

System.IO.FileInfo

OUTPUTS

System.Object

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