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
Version of VstsTaskSdk packages in PSGallery module stop at 0.11.0 and does not contain fixes from 0.12.0 thru 0.14.0. Please publish newer versions referenced in release notes.
#956
Should be able to to consume latest version of VstsTaskSdk.
Steps to reproduce
Proceed to local git repo containing new powershell-based task using powershell
Create a new ps_modules subfolder if it does not exist and switch current working directory to that subfolder
Invoke Save-Module -Name VstsTasksdk -Repository PSGallery -RequiredVersion '0.14.0' -Path .\ as shown by SDK consumption guide and you will encounter error
PackageManagement\Save-Package : No match was found for the specified search criteria and module name 'VstsTaskSdk'. Try Get-PSRepository to see all available registered module repositories.
At C:\Program Files\WindowsPowershell\Modules\PowershellGet\1.0.0.1\PSModule.psml:1598 char:21
+ $null = PackageManagement\Save-Package @PSBoundParameters
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.Power...ets.SavePackage:SavePackage) [Save-Package] Exception
Logs
The text was updated successfully, but these errors were encountered:
tristanbarcelon
changed the title
Version of VstsTaskSdk packages in PSGallery module stop at 0.11.0 and does not contain fixes from 0.12.0 thru 0.14.0
Version of VstsTaskSdk packages in PSGallery module stop at 0.11.0 and does not contain fixes from 0.12.0 thru 0.14.0. Please publish newer versions referenced in release notes.
Jul 21, 2023
Please check our current Issues to see if someone already reported this https://github.com/Microsoft/azure-pipelines-task-lib/issues
Environment
azure-pipelines-task-lib version: 0.11.0
Issue Description
I would like to take advantage of fixes documented in newer versions of VstsTaskSdk but these fixes are not published in powershellgallery.com.
Expected behaviour
Attempting to consume latest version 0.14.0 of VstsTaskSdk triggers an error.
Actual behaviour
Should be able to to consume latest version of VstsTaskSdk.
Steps to reproduce
Save-Module -Name VstsTasksdk -Repository PSGallery -RequiredVersion '0.14.0' -Path .\
as shown by SDK consumption guide and you will encounter errorLogs
The text was updated successfully, but these errors were encountered: