Skip to content

Start Build

apobekiaris edited this page Sep 4, 2020 · 4 revisions

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

Start-Build

SYNOPSIS

Builds solutions and projects.

SYNTAX

Start-Build [[-Path] <String>] [[-Configuration] <String>] [[-Verbosity] <String>] [-WarnAsError]
 [[-BinaryLogPath] <String>] [-NoRestore] [[-MaxCpuCount] <Int32>] [[-PublishProfile] <FileInfo>]
 [<CommonParameters>]

DESCRIPTION

Builds solutions and projects.

EXAMPLES

Example 1

PS C:\> Start-Build ".\TestApplication.sln" -BinaryLogPath .\TestWebApplication.binlog -WarnAsError

Build the TestApplication.sln with a binary log and no warnings.

PARAMETERS

-BinaryLogPath

{{ Fill BinaryLogPath Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-Configuration

{{ Fill Configuration Description }}

Type: String
Parameter Sets: (All)
Aliases:

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

-MaxCpuCount

{{ Fill MaxCpuCount Description }}

Type: Int32
Parameter Sets: (All)
Aliases:

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

-NoRestore

{{ Fill NoRestore 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: (All)
Aliases:

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

-PublishProfile

{{ Fill PublishProfile Description }}

Type: FileInfo
Parameter Sets: (All)
Aliases:

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

-Verbosity

{{ Fill Verbosity Description }}

Type: String
Parameter Sets: (All)
Aliases:
Accepted values: quiet, minimal, normal, detailed, diagnostic

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

-WarnAsError

{{ Fill WarnAsError Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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.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