API Reference
Command
New-ConfigurationProjectTarget
Creates a high-level target entry for a PowerShell-authored project build.
Remarks
Creates a high-level target entry for a PowerShell-authored project build.
Examples
EXAMPLE 1
New-ConfigurationProjectTarget -Name 'Name' -ProjectPath 'C:\Path'
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.
Syntax
New-ConfigurationProjectTarget [-ClearOutput <Boolean>] [-Framework <String>] [-Frameworks <String[]>] [-KeepDocs] [-KeepSymbols] [-Kind <Unknown|Cli|Service|Library>] -Name <String> [-OutputPath <String>] [-OutputType <Tool|Portable>] -ProjectPath <String> [-ReadyToRun <Nullable`1>] [-Runtimes <String[]>] [-Style <Portable>] [-Styles <Portable>] [-UseStaging <Boolean>] [-Zip] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- ClearOutput Boolean
- Clears the final output directory before copy.
- Framework String
- Primary target framework.
- Frameworks String[]
- Optional framework matrix values.
- KeepDocs SwitchParameter
- Keeps documentation files.
- KeepSymbols SwitchParameter
- Keeps symbol files.
- Kind DotNetPublishTargetKind
- Optional target kind metadata.
- Possible values:
Unknown,Cli,Service,Library - Name String
- Friendly target name.
- OutputPath String
- Optional output path template.
- OutputType ConfigurationProjectTargetOutputType[]
- Requested output categories for this target. Defaults to Tool when omitted.
- Possible values:
Tool,Portable - ProjectPath String
- Path to the project file to publish.
- ReadyToRun Nullable`1
- Optional ReadyToRun override.
- Runtimes String[]
- Optional runtime matrix values.
- Style DotNetPublishStyle
- Primary publish style.
- Possible values:
Portable,PortableCompat,PortableSize,FrameworkDependent,AotSpeed,AotSize - Styles DotNetPublishStyle[]
- Optional style matrix values.
- Possible values:
Portable,PortableCompat,PortableSize,FrameworkDependent,AotSpeed,AotSize - UseStaging Boolean
- Uses a temporary staging directory before final copy.
- Zip SwitchParameter
- Creates a zip for the raw publish output.
Outputs
PowerForge.ConfigurationProjectTarget