Skip to content

Update AssemblyInfo

Apostolis Bekiaris edited this page Oct 7, 2019 · 9 revisions

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

Update-AssemblyInfo

SYNOPSIS

Updates the AssemblyInfo.cs version

SYNTAX

Update-AssemblyInfo [-path] <Object> [-Build] [-Minor] [-Revision] [<CommonParameters>]

DESCRIPTION

Updates the AssemblyInfo.cs version

EXAMPLES

Example 1

PS C:\> Update-AssemblyInfo .\AssemblyInfo.cs -Build -Minor

Will increase by one both the Build and the Minor parts of the version found in the file.

PARAMETERS

-Build

{{ Fill Build Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Minor

{{ Fill Minor Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Revision

{{ Fill Revision 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: Object
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
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

None

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