Asp.net mvc Visual Studio新ASP.NET Core 1.0.0 Web API项目导致Nuget依赖项错误

Asp.net mvc Visual Studio新ASP.NET Core 1.0.0 Web API项目导致Nuget依赖项错误,asp.net-mvc,visual-studio-2015,Asp.net Mvc,Visual Studio 2015,我刚刚更新到Visual Studio 2015 Update 3,并从中安装了DotNetCore.1.0.0-VS2015Tools.Preview2 . 然后,我为asp.net core创建了一个包含web.api的新项目,在Visual Studio开始恢复nuget后,我出现以下错误: C:\Private\Commercify\Dev\WebApi\Commercify.Catalog.WebApi\project.json中的错误 包Microsoft.AspNetCore.M

我刚刚更新到Visual Studio 2015 Update 3,并从中安装了DotNetCore.1.0.0-VS2015Tools.Preview2 .

然后,我为asp.net core创建了一个包含web.api的新项目,在Visual Studio开始恢复nuget后,我出现以下错误:

C:\Private\Commercify\Dev\WebApi\Commercify.Catalog.WebApi\project.json中的错误
包Microsoft.AspNetCore.Mvc 1.0.0与netcoreapp1.0不兼容(.NETCoreApp,版本=v1.0)。包Microsoft.AspNetCore.Mvc 1.0.0支持:
-net451(.NETFramework,版本=v4.5.1)
-netstandard1.6(.NETStandard,Version=v1.6)
一个或多个程序包与.NETCoreApp不兼容,版本=v1.0

这是我的整个
项目。json
我没有更改其中的任何内容,但它包含Visual Studio为新的ASP.NET核心Web API项目生成的内容:

{
  "dependencies": {
    "Microsoft.NETCore.App": {
      "version": "1.0.0",
      "type": "platform"
    },
    "Microsoft.AspNetCore.Mvc": "1.0.0", 
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0"
  }, 
  "tools": {
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
  },

  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  },

  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },

  "runtimeOptions": {
    "configProperties": {
      "System.GC.Server": true
    }
  },

  "publishOptions": {
    "include": [
      "wwwroot",
      "Views",
      "Areas/**/Views",
      "appsettings.json",
      "web.config"
    ]
  },

  "scripts": {
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  }
}
打开project.json文件会在“Microsoft.AspNetCore.Mvc”上显示一条红色曲线:“1.0.0”,上面写着:

依赖项Microsoft.AspNetCore.Mvc 1.0.0不支持framework.NETCoreApp,版本=v1.0

我怎样才能解决这个问题