Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Execute-PowerShell Throws Exception
-
After updating from 5.5.3 to 5.6.2, plans utilizing the "Execute-PowerShell" command throw the following exception.
Unhandled exception: System.MissingMethodException: Method not found: 'System.Nullable`1<Inedo.ExecutionEngine.RuntimeValue> Inedo.BuildMaster.Extensibility.Operations.IOperationExecutionContext.TryGetVariableValue(Inedo.ExecutionEngine.RuntimeVariableName)'. at Inedo.Extensions.Windows.PowerShell.PowerShellScriptRunner.ExtractVariables(String script, IOperationExecutionContext context) at Inedo.Extensions.Windows.Operations.PSExecuteOperation.<ExecuteAsync>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.DeploymentPlanExecuter.<Inedo-ExecutionEngine-Executer-IExecutionHostEnvironment-ExecuteActionAsync>d__21.MoveNext()I rolled back to 5.5.3 and verified my plans were working again and incrementally updated versions. It looks like the problem started occurring in 5.6.0
Product: BuildMaster
Version: 5.6.2 -
This should be resolved in v5.6.0 of the Windows extension. Can you verify which version of that extension you have installed?
-
Thanks. That was the problem. After updating the Windows extension from 5.5.0 to 5.6.0 the powershell command is working again.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login