Transition to netstandard.

- dotnet5.X => netstandard1.y (where y = x-1).
- DNXCore50 => netstandardapp1.5.
- Applied the same changes to ifdefs.
This commit is contained in:
N. Taylor Mullen 2016-03-01 13:36:40 -08:00
parent 140cdfb2d2
commit d237c78278
3 changed files with 23 additions and 8 deletions

View File

@ -5,12 +5,16 @@
"url": "https://github.com/aspnet/cors"
},
"description": "CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing.\r\nCommonly used types:\r\nMicrosoft.AspNetCore.Cors.DisableCorsAttribute\r\nMicrosoft.AspNetCore.Cors.EnableCorsAttribute",
"tags": [ "aspnetcore", "cors" ],
"tags": [
"aspnetcore",
"cors"
],
"compilationOptions": {
"warningsAsErrors": true,
"keyFile": "../../tools/Key.snk",
"nowarn": [ "CS1591" ],
"nowarn": [
"CS1591"
],
"xmlDoc": true
},
"dependencies": {
@ -20,7 +24,11 @@
"Microsoft.Extensions.Options": "1.0.0-*"
},
"frameworks": {
"net451": { },
"dotnet5.4": { }
"net451": {},
"netstandard1.3": {
"imports": [
"dotnet5.4"
]
}
}
}

View File

@ -10,12 +10,15 @@
},
"testRunner": "xunit",
"frameworks": {
"dnxcore50": {
"netstandardapp1.5": {
"dependencies": {
"dotnet-test-xunit": "1.0.0-dev-*",
"moq.netcore": "4.4.0-beta8"
},
"imports": "portable-net451+win8"
"imports": [
"dnxcore50",
"portable-net451+win8"
]
},
"dnx451": {
"frameworkAssemblies": {

View File

@ -13,6 +13,10 @@
},
"frameworks": {
"dnx451": {},
"dnxcore50": {}
"netstandardapp1.5": {
"imports": [
"dnxcore50"
]
}
}
}