-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Strange error when using Set-ModuleFunctions during AppVeyor build #121
Comments
VERBOSE: Loading module from path 'C:\projects\mp-infra\BuildOutput\Essentials\MPPowerShell\MPPowerShell.psd1'. |
Tried it again from a different location. I figured maybe if it updated the functions before I move the file, but stils no luck, and this is without specifying path to manifest
|
Hi... got the error below when attempting to update the module functions during my appveyor build.
At C:\projects\mp-infra\psake.ps1:49 char:5 + Set-ModuleFunctions -Name $Manifest -Debug + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [<<==>>] Exception: Exception calling "ShouldProcess" with "1" argument(s): "The method or operation is not implemented." --> The method or operation is not implemented. Command executed with exception: Exception calling "ShouldProcess" with "1" argument(s): "The method or operation is not implemented."
I can only imagine it has something to do with the usage of SupportsShouldProcess in your functions. Is it possilble that the lack of an explicit $true is causing this?
Anyway I have a branch where this has been changed... I can attempt to fix it if you want, but would be great if you could take a look.
Edit:
The issue only appears when I pass a specific path for the manifest.
Will add the output in a comment below
The text was updated successfully, but these errors were encountered: