PowerShell / Microsoft.PowerShell.Archive

Archive PowerShell module contains cmdlets for working with ZIP archives
https://technet.microsoft.com/en-us/library/dn818910.aspx
MIT License
93 stars 37 forks source link

Module manifest for 2.0 should not have wildcards #134

Closed SteveL-MSFT closed 2 years ago

SteveL-MSFT commented 2 years ago

Prerequisites

Steps to reproduce

The psd1 file has asterisks for exporting certain things, this forces PowerShell to analyze the whole assembly to see if anything should be exported.

Expected behavior

Instead, for things that are not exported, they should not be included in the manifest and for things that are exported, it should be a definite list.

Actual behavior

Wildcards in Export members

Error details

No response

Environment data

Name                           Value
----                           -----
PSVersion                      7.3.0-preview.6
PSEdition                      Core
GitCommitId                    7.3.0-preview.6
OS                             Darwin 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:29 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T8101
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

2.0 preview.1

Visuals

No response