-
-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make module manifest v2 compatible #263
Conversation
The RootModule key was renamed from ModuleToProcess in PowerShell v3 so is not compatible with PowerShell v2. ModuleToProcess still exists as an alias, so use that instead. See discussion in dahlbyk#242
Just tested this out on a Win7 VM with PowerShell v2:
And this is what I currently get on
👍 to this change, will test some other OSes as well while I'm in here... |
I'll defer to @shiftkey's test matrix on this. |
I'll wrap this up today, haven't found any shockers so far |
Is this the only PowerShell 2 incompatibility you've seen so far? |
N.B. New-ModuleManfest docs for
I'm going to go ahead and merge. Please open another issue if you find other ways we could be less PS2-hostile. |
Make module manifest v2 compatible
The RootModule key was renamed from ModuleToProcess in PowerShell v3
so is not compatible with PowerShell v2. ModuleToProcess still exists
as an alias, so use that instead.
See discussion in #242