ASP. NET 5 dnx sdk deletes the old version, dnxsdk
After ASP. NET 5 is upgraded, the DNX of the old version will not be deleted. to delete the DNX of the old version, run the following command:
First open CMD or Powershell
1. First enter dnvm to check whether the command contains "uninstall ".
2. If not, upgrade dnvm first.
dnvm update-self
3. If uninstall exists, run the following command:
dnvm list
The results are as follows:
Active Version Runtime Architecture OperatingSystem Alias------ ------- ------- ------------ --------------- ----- 1.0.0-beta4 coreclr x64 win 1.0.0-beta4 coreclr x86 win 1.0.0-beta5 coreclr x64 win 1.0.0-beta5 coreclr x86 win 1.0.0-rc1-final clr x64 win * 1.0.0-rc1-final clr x86 win default 1.0.0-rc1-final coreclr x64 win 1.0.0-rc1-final coreclr x86 win
Note that the Version Runtime Architecture fields in the result
4. If you want to delete a version, you can use a statement similar to the following:
dnvm uninstall 1.0.0-beta5 -arch x86 -runtime coreclr
Dnvm uninstall [version]-arch [architecture]-runtime [runtime]