API Reference
Cmdlet
New-ConfigurationDotNetMatrixRule
Creates a matrix include/exclude rule for DotNet publish DSL.
Remarks
Creates a matrix include/exclude rule for DotNet publish DSL.
Examples
Create a matrix rule
New-ConfigurationDotNetMatrixRule -Targets 'Service*' -Runtime 'win-*' -Framework 'net10.0*' -Style 'Portable*'
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-ConfigurationDotNetMatrixRule [-Framework <String>] [-Runtime <String>] [-Style <String>] [-Targets <String[]>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- Framework String
- Optional framework wildcard pattern.
- Runtime String
- Optional runtime wildcard pattern.
- Style String
- Optional style wildcard pattern.
- Targets String[]
- Optional target name patterns.
Outputs
PowerForge.DotNetPublishMatrixRule