API Reference
Command
Import-ConfigurationDotNetPublish
Imports a typed .NET publish configuration for use in the publish DSL.
Remarks
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 }
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
Import-ConfigurationDotNetPublish -Path <String> [<CommonParameters>]#Parameter set:
All Parameter SetsParameters
- Path String
- Publish JSON or unified release JSON containing the tools configuration.
Outputs
PowerForge.DotNetPublishSpec