Skip to content

Instantly share code, notes, and snippets.

@kunjee17
Last active June 28, 2017 09:29
Show Gist options
  • Save kunjee17/858bf1462896dc174a6515385601bfc3 to your computer and use it in GitHub Desktop.
Save kunjee17/858bf1462896dc174a6515385601bfc3 to your computer and use it in GitHub Desktop.
reset dot net core sdk while trying different version of it.
@echo off
echo was:
dotnet --version
REM 1.0.1
REM pushd C:\dotnetcli\dotnet-1.1.1-sdk-win-x64
REM 1.0.4
pushd C:\dotnetcli\dotnet-dev-win-x64.1.0.4
set PATH=%CD%;%PATH%
popd
echo now:
dotnet --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment