Why is the mvc6 template targeting multiple versions of DNX by default?

When creating a new MVC 6 project using asp.net 5, there is a link to both DNX 451 and DNXCore50.
Why are multiple DNX links listed and are they needed?

+5
source share
1 answer

DNSCore50 uses the .net core, and DNX451 uses the .net infrastructure. Linking to them means that you can create for both purposes.

If you do not want to create for both, you can delete one of them.

The reasons why you might want to keep both of them may be because you are creating a library that you want to use for both types of external projects.

The reasons why you might not want to hold both may be because you are using an external library that is available for only one of them (there is a good chance that most of your favorite libraries are just frames), or maybe you need to use framework code that is not yet implemented in the .net kernel.

+6
source

All Articles