Reputation: 8293
I'm trying to install posh-git to the visual studio package manager console (vs 2012) and I'm getting the following error when running .\install.ps1 in the poshgit directory and reloading the profile:
Register-TabExpansion : A parameter cannot be found that matches parameter name 'Type'.
At D:\posh-git\GitTabExpansion.ps1:218 char:37
+ Register-TabExpansion "git.exe" -Type Command {
+ ~~~~~
+ CategoryInfo : InvalidArgument: (:) [Register-TabExpansion], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Register-TabExpansion
I can install posh-git from a normal powershell prompt with no issues it only seems to be running into this in vs 2012.
Any idea why I'm getting this error in vs only and how to fix it?
Upvotes: 5
Views: 975