{"action":"opened","issue":{"url":"https://api.github.com/repos/rfennell/AzurePipelines/issues/394","repository_url":"https://api.github.com/repos/rfennell/AzurePipelines","labels_url":"https://api.github.com/repos/rfennell/AzurePipelines/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/rfennell/AzurePipelines/issues/394/comments","events_url":"https://api.github.com/repos/rfennell/AzurePipelines/issues/394/events","html_url":"https://github.com/rfennell/AzurePipelines/issues/394","id":375993211,"node_id":"MDU6SXNzdWUzNzU5OTMyMTE=","number":394,"title":"A parameter cannot be found that matches parameter name 'VersionRegex'.","user":{"login":"paljen","id":31762847,"node_id":"MDQ6VXNlcjMxNzYyODQ3","avatar_url":"https://avatars3.githubusercontent.com/u/31762847?v=4","gravatar_id":"","url":"https://api.github.com/users/paljen","html_url":"https://github.com/paljen","followers_url":"https://api.github.com/users/paljen/followers","following_url":"https://api.github.com/users/paljen/following{/other_user}","gists_url":"https://api.github.com/users/paljen/gists{/gist_id}","starred_url":"https://api.github.com/users/paljen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paljen/subscriptions","organizations_url":"https://api.github.com/users/paljen/orgs","repos_url":"https://api.github.com/users/paljen/repos","events_url":"https://api.github.com/users/paljen/events{/privacy}","received_events_url":"https://api.github.com/users/paljen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-31T14:35:16Z","updated_at":"2018-10-31T14:35:16Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nAfter the version 2.1.7 im having trouble with the extension - Manifest Versioning Build Tasks\r\n\r\nI have a build in Azure DevOps (VSTS) where i use the task - Version PowerShell Module and im getting the following error (debug output) :\r\n\r\n2018-10-31T14:20:04.6829069Z ##[debug]Evaluating condition for step: 'Version PowerShell Modules'\r\n2018-10-31T14:20:04.6829531Z ##[debug]Evaluating: succeeded()\r\n2018-10-31T14:20:04.6829639Z ##[debug]Evaluating succeeded:\r\n2018-10-31T14:20:04.6829789Z ##[debug]=> True\r\n2018-10-31T14:20:04.6830124Z ##[debug]Result: True\r\n2018-10-31T14:20:04.6830277Z ##[section]Starting: Version PowerShell Modules\r\n2018-10-31T14:20:04.6833122Z ==============================================================================\r\n2018-10-31T14:20:04.6833170Z Task         : Version PowerShell Module\r\n2018-10-31T14:20:04.6833199Z Description  : Applies specified version number to one or more PowerShell modules in a target folder.\r\n2018-10-31T14:20:04.6833246Z Version      : 2.1.7\r\n2018-10-31T14:20:04.6833275Z Author       : Black Marble\r\n2018-10-31T14:20:04.6833304Z Help         : Version: 2.1.7. [More Information](https://github.com/rfennell/vNextBuild/wiki/Version-Assemblies-and-Packages-Tasks/)\r\n2018-10-31T14:20:04.6833510Z ==============================================================================\r\n2018-10-31T14:20:04.6839117Z Preparing task execution handler.\r\n2018-10-31T14:20:04.8803278Z Executing the powershell script: D:\\a\\_tasks\\VersionPowerShellModule_036278fe-8a47-426b-b5b3-bef05334db00\\2.1.7\\Update-PowerShellModuleVersion.ps1\r\n2018-10-31T14:20:04.8804962Z ##[debug]PowerShellHandler.Execute - AddCommand(D:\\a\\_tasks\\VersionPowerShellModule_036278fe-8a47-426b-b5b3-bef05334db00\\2.1.7\\Update-PowerShellModuleVersion.ps1)\r\n2018-10-31T14:20:04.8805147Z ##[debug]PowerShellHandler.Execute - Add inputParameters\r\n2018-10-31T14:20:04.8805708Z ##[debug]PowerShellHandler.Execute - AddParameter(Path=D:\\a\\1\\s)\r\n2018-10-31T14:20:04.8806210Z ##[debug]PowerShellHandler.Execute - AddParameter(VersionNumber=1.0.0.219)\r\n2018-10-31T14:20:04.8806640Z ##[debug]PowerShellHandler.Execute - AddParameter(OutputVersion=OutputedVersion)\r\n2018-10-31T14:20:04.8807033Z ##[debug]PowerShellHandler.Execute - AddParameter(VersionRegex=\\d+\\.\\d+\\.\\d+\\.\\d+)\r\n2018-10-31T14:20:04.9622691Z ##[debug]PowerShellHandler.Execute - Invoke\r\n2018-10-31T14:20:05.1930952Z ##[error]System.Management.Automation.ParameterBindingException: A parameter cannot be found that matches parameter name 'VersionRegex'.\r\n2018-10-31T14:20:05.1944907Z ##[debug]Processed: ##vso[task.logissue type=error;]System.Management.Automation.ParameterBindingException: A parameter cannot be found that matches parameter name 'VersionRegex'.\r\n2018-10-31T14:20:05.1945152Z    at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)\r\n2018-10-31T14:20:05.1945213Z    at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)\r\n2018-10-31T14:20:05.1945272Z    at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)\r\n2018-10-31T14:20:05.1992114Z    at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)\r\n2018-10-31T14:20:05.1992245Z    at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)\r\n2018-10-31T14:20:05.1992293Z    at Microsoft.TeamFoundation.DistributedTask.Handlers.LegacyVSTSPowerShellHost.VSTSPowerShellHost.Main(String[] args)\r\n2018-10-31T14:20:05.2052839Z ##[error]LegacyVSTSPowerShellHost.exe completed with return code: -1.\r\n2018-10-31T14:20:05.2055910Z ##[section]Finishing: Version PowerShell Modules\r\n\r\nThis is not the fist time im getting this error with 2.1.7 but last time i got help from one of you it magically got solved by it self somehow, but this time it wont go away ;)\r\n\r\nprior to 2.1.7 i had no problem and everything worked as it should, the success would be that the .*psd1 manifest file would be updated with the build version like 1.0.0.($buildnumber), in this case 1.0.0.219\r\n\r\nRegards\r\n\r\nPalle Jensen\r\n\r\n\r\n\r\n### Azure DevOps Extension you are using\r\n*There are a number of Azure DevOps (VSTS) extension in this repo so please say which one you are using, and if an extension contains multiple tasks which task also*\r\n\r\nManifest Versioning Build Tasks\r\n\r\n### Where are you running it?\r\n*You can run the extensions in the cloud or on-premise*\r\n- Azure DevOps Service (VSTS)\r\n- Azure DevOps Server (on-premise TFS, if so what version)\r\n\r\n### Version of Extension/Task\r\n*I assume it is the currently public version, if you are using an older version on-premises let me know, but the answer will probably involve upgrading to the currently public version*\r\n\r\n### Expected behaviour and actual behaviour\r\n\r\n### Steps to reproduce the problem\r\n"}}
{"actor":{"display_login":"paljen"}}