Command
New-ConfigurationProjectRelease
Creates release-level defaults for a PowerShell-authored project build.
Syntax
New-ConfigurationProjectRelease
[-BuildDuringPublish]
[-Configuration <String>]
[-PublishToolGitHub]
[-SkipBuild]
[-SkipRestore]
[-SkipToolOutput <Tool| Portable| Installer| Store>]
[-ToolOutput <Tool| Portable| Installer| Store>]
[<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Example 1
New-ConfigurationProjectRelease -BuildDuringPublishParameters
- -BuildDuringPublish SwitchParameter
- Lets each dotnet publish invocation perform its own authoritative build instead of consuming outputs from a separate prebuild step.
- -Configuration String
- Build configuration used by the generated release object.
- -PublishToolGitHub SwitchParameter
- Enables tool/app GitHub release publishing by default for this release object.
- -SkipBuild SwitchParameter
- Skips build operations by default for DotNetPublish-backed tool/app flows.
- -SkipRestore SwitchParameter
- Skips restore operations by default for DotNetPublish-backed tool/app flows.
- -SkipToolOutput ConfigurationProjectReleaseOutputType[]
- Optional default release output exclusion.
- Possible values:
Tool,Portable,Installer,Store - -ToolOutput ConfigurationProjectReleaseOutputType[]
- Optional default release output selection.
- Possible values:
Tool,Portable,Installer,Store
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.