API Reference
Cmdlet
New-ConfigurationDotNetMatrix
Creates matrix defaults and include/exclude filters for DotNet publish DSL.
Remarks
Creates matrix defaults and include/exclude filters for DotNet publish DSL.
Examples
Create matrix defaults
New-ConfigurationDotNetMatrix -Runtimes 'win-x64','win-arm64' -Frameworks 'net10.0','net10.0-windows' -Styles PortableCompat,AotSpeed
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-ConfigurationDotNetMatrix [-Exclude <DotNetPublishMatrixRule[]>] [-Frameworks <String[]>] [-Include <DotNetPublishMatrixRule[]>] [-Runtimes <String[]>] [-Styles <Portable>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Exclude DotNetPublishMatrixRule[]
- Exclude rules.
- Frameworks String[]
- Default frameworks.
- Include DotNetPublishMatrixRule[]
- Include rules.
- Runtimes String[]
- Default runtimes.
- Styles DotNetPublishStyle[]
- Default styles.
- Possible values:
Portable,PortableCompat,PortableSize,FrameworkDependent,AotSpeed,AotSize
Outputs
PowerForge.DotNetPublishMatrix