Visual studio 2017 Visual Studio 2017 csproj.NET核心netstandard2.0未构建

Visual studio 2017 Visual Studio 2017 csproj.NET核心netstandard2.0未构建,visual-studio-2017,.net-core,.net-standard,Visual Studio 2017,.net Core,.net Standard,我刚刚安装了VS2017,并将.NET核心项目从project.json格式单向迁移到新的csproj格式。我想要的是针对多个框架,这样我就可以使用更小的占地面积构建依赖于框架的部署和自包含的部署。我遵循了MS文档中的说明,但当我在TargetFrameworks中包括netstandard1.6或netstandard2.0时,我得到了一系列预定义的类型System。对象未定义,并且在我尝试构建项目时找不到名称空间系统的类型。这在使用project.json文件时起作用。我的csproj是 1

我刚刚安装了VS2017,并将.NET核心项目从project.json格式单向迁移到新的csproj格式。我想要的是针对多个框架,这样我就可以使用更小的占地面积构建依赖于框架的部署和自包含的部署。我遵循了MS文档中的说明,但当我在TargetFrameworks中包括netstandard1.6或netstandard2.0时,我得到了一系列预定义的类型System。对象未定义,并且在我尝试构建项目时找不到名称空间系统的类型。这在使用project.json文件时起作用。我的csproj是

1.0.0.0 netcoreapp1.2;netstandard2.0 应用程序 Exe 应用程序 1.1.1-> 1.6.1 win10-x64;6.21;android21-arm64;osx.10.12;rhel7.4;centos.7-x64;debian8-x64;ubuntu16.10-x64;fedora.26-x64;opensuse.42.1-x64 错误的 错误的
false当未还原Nuget包时,我收到了相同的错误消息。您是否已确保软件包已正确还原,并且在运行dotnet restore时不会出现错误?

因此,我觉得自己非常愚蠢,因为我本可以发誓我已经这样做了,但今天早上再次尝试时,似乎就是这样。谢谢伟大的有时只需要两个额外的眼睛!win10-x64:{}之后缺少逗号
{
  "version": "1.0.0.0",
  "buildOptions": {
    "emitEntryPoint": true
  },

  "frameworks": {
    "netcoreapp1.2": {
      "dependencies": {
        "Microsoft.NETCore.App": {
          "type": "platform",
          "version": "1.1.0"
        }
      }
    },
    "netstandard2.0": {
      "dependencies": {
        "NETStandard.Library": {
          "version": "1.6.1"
        },
        "System.Threading.Thread": "4.3.0",
        "Microsoft.NETCore.Runtime.CoreCLR": "1.1.0"
      }
    }
  },

  "runtimes": {
    "win10-x64": {}
    "ubuntu.16.10-x64": {},
    "centos.7-x64": {},
    "debian.8-x64": {},
    "fedora.24-x64": {},
    "opensuse.42.1-x64": {},
    "osx10.12-x64" : {}
  }
}