Command
New-ConfigurationDotNetMatrix
Creates matrix defaults and include/exclude filters for DotNet publish DSL.
Syntax
New-ConfigurationDotNetMatrix [-Exclude <DotNetPublishMatrixRule[]>] [-Frameworks <String[]>] [-Include <DotNetPublishMatrixRule[]>] [-Runtimes <String[]>] [-Styles <DotNetPublishStyle[]>] [<CommonParameters>]#Parameter set:
All Parameter SetsExamples
Create matrix defaults
New-ConfigurationDotNetMatrix -Runtimes 'win-x64','win-arm64' -Frameworks 'net10.0','net10.0-windows' -Styles PortableCompat,AotSpeedParameters
- -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,SelfContained,FrameworkDependent,AotSpeed,AotSize
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.