Skip to content

Add NuspecDependency

apobekiaris edited this page Sep 4, 2020 · 5 revisions

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

Add-NuspecDependency

SYNOPSIS

Adds a dependency to a Nuspec file.

SYNTAX

Add-NuspecDependency [-Id] <Object> [-Version] <Object> [-Nuspec] <Object> [<CommonParameters>]

DESCRIPTION

Adds a dependency to a Nuspec file.

EXAMPLES

Example 1

PS C:\> Add-NuspecDependency $Id $version ([xml](Get-Content $nuspecFile))

Add a Nuspec dependency with id=$id and version=$version to the $nuspecfile.

PARAMETERS

-Id

{{ Fill Id Description }}

Type: Object
Parameter Sets: (All)
Aliases:

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

-Nuspec

{{ Fill Nuspec Description }}

Type: Object
Parameter Sets: (All)
Aliases:

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

-Version

{{ Fill Version Description }}

Type: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
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.Object

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