DNVM Setup fails to set process path
Closed this issue · 4 comments
BrennanConroy commented
Currently reproed on Win 10, will try on Win 7
bricelam commented
Were you using PowerShell or Command Prompt?
BrennanConroy commented
CMD
j0nnyhughes commented
Is this because https://github.com/aspnet/Home/blob/dev/dnvm.cmd calls the actual install with "Powershell -Command{...}" creating a new process and therefore setting the path there instead of the main process being used by the user or build server for example?
bricelam commented
@jonnyh89 That was my theory too, but it looks like there is code to copy the values to a batch file and invoke that after PowerShell has exited.