Project

PSPublishModule

Build, test, version, sign, and publish PowerShell modules with reusable PowerForge pipelines.

Stars 48
Forks 16
PowerShell Gallery downloads 17,213
Release v3.0.186
Language: C# Updated: 2026-11-04
Command

Import-ConfigurationDotNetPublish

Module
PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishSpec

Imports a typed .NET publish configuration for use in the publish DSL.

Syntax

Import-ConfigurationDotNetPublish
[-Path] <String>
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

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 requiredposition: 0aliases: ConfigPath
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.