| external help file | PSPublishModule-help.xml |
|---|---|
| Module Name | PSPublishModule |
| online version | https://github.com/EvotecIT/PSPublishModule |
| schema | 2.0.0 |
Creates a high-level target entry for a PowerShell-authored project build.
New-ConfigurationProjectTarget -Name <string> -ProjectPath <string> [-Kind <DotNetPublishTargetKind>] [-Framework <string>] [-Frameworks <string[]>] [-Runtimes <string[]>] [-Style <DotNetPublishStyle>] [-Styles <DotNetPublishStyle[]>] [-OutputPath <string>] [-OutputType <ConfigurationProjectTargetOutputType[]>] [-Zip] [-UseStaging <bool>] [-ClearOutput <bool>] [-KeepSymbols] [-KeepDocs] [-ReadyToRun <bool>] [<CommonParameters>]Creates a high-level target entry for a PowerShell-authored project build.
New-ConfigurationProjectTarget -Name 'Name' -ProjectPath 'C:\Path'Clears the final output directory before copy.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePrimary target framework.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional framework matrix values.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueKeeps documentation files.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueKeeps symbol files.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional target kind metadata.
Type: DotNetPublishTargetKind
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Unknown, Cli, Service, Library
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueFriendly target name.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional output path template.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueRequested output categories for this target. Defaults to Tool when omitted.
Type: ConfigurationProjectTargetOutputType[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Tool, Portable
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePath to the project file to publish.
Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: True
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional ReadyToRun override.
Type: Nullable`1
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional runtime matrix values.
Type: String[]
Parameter Sets: __AllParameterSets
Aliases: Runtime
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TruePrimary publish style.
Type: DotNetPublishStyle
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Portable, PortableCompat, PortableSize, FrameworkDependent, AotSpeed, AotSize
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueOptional style matrix values.
Type: DotNetPublishStyle[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values: Portable, PortableCompat, PortableSize, FrameworkDependent, AotSpeed, AotSize
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueUses a temporary staging directory before final copy.
Type: Boolean
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueCreates a zip for the raw publish output.
Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:
Required: False
Position: named
Default value: None
Accept pipeline input: False
Accept wildcard characters: TrueThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
None
PowerForge.ConfigurationProjectTarget
- None