According to the "Version Manager" documentation (dnvm, ref: https://github.com/aspnet/Home/wiki/Version-Manager) I should be able to provide the -g
or -global
parameter when using the command use
.
Documentation:
dnvm use <semver>|<alias>|none [-x86][-x64] [-svr50][-svrc50] [-p|-persistent] [-g|-global]
| add DNX bin to path of current command line
none remove DNX bin from path of current command line
-p|-persistent add DNX bin to PATH environment variables persistently
-g|-global combined with -p to change machine PATH instead of user PATH
Yet when I perform this, I recieve the following error:
C:\Repos\X\AbsenceRequests\AbsenceRequests\AbsenceRequests.Data.EF>dnvm use 1.0.
0-rc1-update1 -p -g
Invoke-Command : A parameter cannot be found that matches parameter name 'g'.At
C:\Users\OSCHELPEY\.dnx\bin\dnvm.ps1:1905 char:9
+ Invoke-Command ([ScriptBlock]::Create("dnvm-$cmd $cmdargs"))
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-Command], Parameter
BindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Comm
ands.InvokeCommandCommand
What am I doing wrong, or am I misinterpeting the documentation?