从ASP.NET Core RC1迁移到RC2

时间:2016-06-09 12:32:20

标签: asp.net-core asp.net-core-1.0

RC1中的

我可以像这样使用像AutoMapper这样的nuget包:

{
  "version": "1.0.0-*",
  "description": "My Class Library",
  "authors": [ "author" ],
  "tags": [ "" ],
  "projectUrl": "",
  "licenseUrl": "",

  "frameworks": {
    "dnx451": {
      "dependencies": {
        "MongoDB.Driver": "2.2.3"

      }
    }

  },
  "dependencies": {
    "AutoMapper": "4.1.1"

  }
}

例如,这不起作用:

{
  "version": "1.0.0-*",

  "dependencies": {
    "NETStandard.Library": "1.5.0-rc2-24027",
    "Microsoft.Extensions.Options": "1.0.0-rc2-final"
  },

  "frameworks": {
      "net451": {
        "MediaTypeMap": "2.1.0",
        "AWSSDK.S3": "3.1.3.10",            
        "Mandrill.net": "2.2.0",
        "Microsoft.Extensions.WebEncoders.Core": "1.0.0-*",
        "RestSharp": "105.2.3",
        "WindowsAzure.Storage": "6.2.0"      
    },
    "netstandard1.5": {
      "imports": [
        "dnxcore50",
        "portable-net451+win8"
      ]
    }

  }
}

我如何在RC2中做到这一点?感谢。

0 个答案:

没有答案