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.169
Language: C# Updated: 2026-10-13

API Reference

Command

Import-ConfigurationDotNetPublish

Namespace PSPublishModule
Inputs
None
Outputs
PowerForge.DotNetPublishSpec

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

Authored help example

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 Sets

Parameters

Path String requiredposition: 0pipeline: Falsealiases: ConfigPath
Publish JSON or unified release JSON containing the tools configuration.

Outputs

PowerForge.DotNetPublishSpec