2017-04-25 241 views
1

我安装了.NET核心,我对我看到的版本号有点困惑。当我运行dotnet命令,我得到这样的输出:.NET核心版本号

 
Microsoft .NET Core Shared Framework Host 

    Version : 1.1.0 
    Build : 928f77c4bc3f49d892459992fb6e1d5542cb5e86 

Usage: dotnet [common-options] [[options] path-to-application] 

Common Options: 
    --help       Display .NET Core Shared Framework Host help. 
    --version      Display .NET Core Shared Framework Host version. 

Options: 
    --fx-version   Version of the installed Shared Framework to use to run the application. 
    --additionalprobingpath Path containing probing policy and assemblies to probe for. 

Path to Application: 
    The path to a .NET Core managed application, dll or exe file to execute. 

If you are debugging the Shared Framework Host, set 'COREHOST_TRACE' to '1' in your environment. 

To get started on developing applications for .NET Core, install the SDK from: 
    http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409 

即告诉我,我有.NET核心V1.1.0,这是基于我装什么我的预期。

但是,如果我然后运行dotnet --version,它告诉我我有版本1.0.1。为何差异?这两个版本号有什么区别?

+1

我写的http://计算器.com/documentation/.net-core/9592/components-and-versioning-in-net-core#t = 201704252158540031514几周前。希望能帮助到你。 – omajid

+0

该说明试图解释1.组件之间的版本不同,以及2.如何找到每个版本。试图跟踪最新版本是很多手动工作:) – omajid

回答

3
  • 1.0.1是一个.NET核心SDK版本
  • 1.1.1是一个.NET核心运行时版本

参见相关SO质疑.Net Core Version Confusion on Installer

+0

要非常迂腐,1.1.1是共享主机的版本,而不是共享框架。基本上是https://github.com/dotnet/core-setup的版本,而不是https://github.com/dotnet/corefx或https://github.com/dotnet/coreclr的版本。 – omajid