asp.net 5 dnx_ practical tips on how to remove old versions after upgrade

Source: Internet
Author: User

asp.net 5 The old version of the DNX will not be deleted, you want to delete the old version of the DNX, you can use the following command to complete, before this first introduce the DNX architecture and operating principles

DNX is the core of the ASP.net program, followed by the following two guidelines:

    • DNX should be self-contained, DNX cannot know which core CLR package to use after parsing the application dependency tree, so dnx cannot load any CLR until the parse tree is available, except for Roslyn compilers.
    • Dependency Injection (Dependency injection, referred to as DI) runs through the entire system stack, and Di is a core part of DNX, and all class libraries on DNX are built on di.

The layered architecture of the DNX execution environment is as follows:


asp.net 5 How to remove the old version of DNX after the upgrade, a simple four steps:

First open cmd or PowerShell.
1. Enter DNVM first to see if there are uninstall in the order
2. If not, upgrade DNVM first
DNVM update-self
3. If you have uninstall, you can execute the following command
DNVM List
The results are roughly 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 the results of version Runtime architecture three fields

4. If you want to delete one of these versions, you can do it by using a statement like this
dnvm Uninstall 1.0.0-beta5-arch x86-runtime coreclr

Description: DNVM Uninstall "version"-arch "schema"-runtime "Runtime"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.