Skip to content

Latest commit

 

History

History
139 lines (108 loc) · 2.73 KB

File metadata and controls

139 lines (108 loc) · 2.73 KB
external help file PSPublishModule-help.xml
Module Name PSPublishModule
online version https://github.com/EvotecIT/PSPublishModule
schema 2.0.0

New-ConfigurationDotNetProfile

SYNOPSIS

Creates a named profile for DotNet publish DSL.

SYNTAX

__AllParameterSets

New-ConfigurationDotNetProfile -Name <string> [-Default] [-Targets <string[]>] [-Runtimes <string[]>] [-Frameworks <string[]>] [-Style <DotNetPublishStyle>] [<CommonParameters>]

DESCRIPTION

Creates a named profile for DotNet publish DSL.

EXAMPLES

EXAMPLE 1

New-ConfigurationDotNetProfile -Name 'release' -Default -Targets 'Service','Cli' -Runtimes 'win-x64','win-arm64'

PARAMETERS

-Default

Marks this profile as default.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

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

-Frameworks

Optional framework overrides.

Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

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

-Name

Profile name.

Type: String
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

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

-Runtimes

Optional runtime overrides.

Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

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

-Style

Optional style 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: True

-Targets

Optional target name filters.

Type: String[]
Parameter Sets: __AllParameterSets
Aliases: None
Possible values:

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

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

  • PowerForge.DotNetPublishProfile

RELATED LINKS

  • None