You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When invoking the command Build-Module with required Parameters like this: Build-Module -Path .\Source\ModuleBuilder.psd1 -OutputDirectory ..\ -VersionedOutputDirectory
but the Build.psd1 file is absent, we get the error below.
The only way to work around it is to create a Build.psd1 with an empty hashtable.
I think we should make that file optional when required parameters are provided, and clearer error when not.
When invoking the command Build-Module with required Parameters like this:
Build-Module -Path .\Source\ModuleBuilder.psd1 -OutputDirectory ..\ -VersionedOutputDirectorybut the
Build.psd1file is absent, we get the error below.The only way to work around it is to create a
Build.psd1with an empty hashtable.I think we should make that file optional when required parameters are provided, and clearer error when not.