Closed SteveL-MSFT closed 2 years ago
The psd1 file has asterisks for exporting certain things, this forces PowerShell to analyze the whole assembly to see if anything should be exported.
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.
Wildcards in Export members
No response
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
2.0 preview.1
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
Actual behavior
Error details
No response
Environment data
Version
2.0 preview.1
Visuals
No response