Command
Import-ConfigurationDotNetPublish
Imports a typed .NET publish configuration for use in the publish DSL.
Syntax
Import-ConfigurationDotNetPublish
[-Path] <String>
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Relative project roots are anchored to the defining configuration file, so the resulting specification can be used from another working directory.
Examples
Customize a configured package build
$spec = Import-ConfigurationDotNetPublish -Path './Build/publish.json'; $spec.DotNet.Configuration = 'Debug'; Invoke-DotNetPublish -Settings { $spec }Parameters
- -Path String
- Publish JSON or unified release JSON containing the tools configuration.
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.