Project.json定义dnx451 VS .dotnet(4.51) [英] Project.json definition dnx451 vs .dotnet ( 4.51)

查看:187
本文介绍了Project.json定义dnx451 VS .dotnet(4.51)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些 在ASP vnext我可以定义运行时的3种类型

I've some In asp vnext I can define 3 Types of runtime

  • dnxCore
  • dnx451
  • DOTNET

在Project.json它看起来是这样的:

In Project.json it looks like this:

"frameworks": 
{
    "dotnet": { },
    "dnx451": { },
    "dnxcore50": { }
}^

和用户界面shors这种

and the ui shors this

我假设如下:

dnxCore 是新的.NET核心框架。

dnxCore is the new .net Core Framework.

DOTNET 是previous运行

dotnet is the previous runtime

dnx451: 在project.json界定DOTNET或dnx451时有什么不同呢?

dnx451: What is different when defining "dotnet" or "dnx451" in the project.json?

不应同时与.NET运行时执行跑?

Shouldn't both run with the .net execution runtime?

这也取决于我选择哪个项目模板(vNext CLASSLIB或vNext控制台库)的默认包含一个或另一个。

Also depending on which project template i choose ( vNext ClassLib or vNext Console Lib) default contains one or the other.

推荐答案

DOTNET 目标.NET核心4.6兼容性摆。 <一href="http://stackoverflow.com/questions/30763115/what-frameworks-are-available-in-asp-net-5-applications">reference链接

dotnet targets a slew of .NET Core 4.6 compatibilities. reference link

DOTNET这是新的.NET核心没有任何应用程序模型要求的包。 - 参考链接

"dotnet This is the new .NET Core for packages that don’t have any app model requirements." - reference link

因此​​,通过这些定义的 DOTNET 是新的运行时,而不是previous一个

So by these definitions dotnet is the new runtime, not the previous one

这篇关于Project.json定义dnx451 VS .dotnet(4.51)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆