8000 Module manifest could not be processed · Issue #12599 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Module manifest could not be processed #12599

@ntatschner

Description

@ntatschner

Steps to reproduce

Module files.zip

Running Test-ModuleManifest -Path "ATTACHED psd1 FILE"

PS C:\Users\nrtat> Test-ModuleManifest -Path .\Documents\WindowsPowerShell\Modules\Tatux.Utils\Tatux.Utils.psd1

This issue presented itself while trying to use Publish-Module
I then tested the command in both versions of PS

Expected behavior

Manifest file is validated.

The command above works in Powershell Verstion 5.1

Actual behavior

Test-ModuleManifest: The module manifest 'Tatux.Utils' could not be processed because it is not a valid PowerShell module manifest file. Remove the elements that are not permitted: C:\Users\nrtat\Documents\WindowsPowerShell\Modules\Tatux.Utils\Tatux.Utils.psd1

Environment data

Name Value


PSVersion 7.0.0
PSEdition Core
GitCommitId 7.0.0
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0


Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productResolution-No ActivityIssue has had no activity for 6 months or moreWG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0