Skip to content

Remove dependency on PowerShell Test-ModuleManifest from Publish-PSResource #903

Description

Summary of the new feature / enhancement

Currently, Publish-PSResource performs a module manifest validation by running Test-ModuleManifest, but the test cmdlet is too strict and rejects valid manifests if required modules or root module path is missing from the machine. We should have a custom validation function that does can validate a standalone module manifest file outside the context of a fully installed and operational module.

Currently only Publish-PSResource validates a manifest file, but we should consider adding a common validation to Set-ModuleManfiest once we have a custom validation function.

Proposed technical implementation details (optional)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions