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
Get-ChoVersion is using the $Executable parameter, but Set-ChoVersion is not, so we can't install gitversion, because the package name is not the same as the executable name.
VERBOSE: Setting choco package 'bicep' version 0.4.1008
ERROR: Get-Command : Cannot validate argument on parameter 'Name'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
NOTE: as a work around, I just set Executable = "bicep" on the first package and that worked.
Have a look at Get-ChoVersion, because that one is handling this properly.
Get-ChoVersion
is using the$Executable
parameter, butSet-ChoVersion
is not, so we can't install gitversion, because the package name is not the same as the executable name.Repro:
After that error,
Get-ChoVersion
will work, butSet-ChoVersion
still fails.The text was updated successfully, but these errors were encountered: