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" "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", "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": { "compilationOptions": {
"warningsAsErrors": true, "warningsAsErrors": true,
"keyFile": "../../tools/Key.snk", "keyFile": "../../tools/Key.snk",
"nowarn": [ "CS1591" ], "nowarn": [
"CS1591"
],
"xmlDoc": true "xmlDoc": true
}, },
"dependencies": { "dependencies": {
@ -20,7 +24,11 @@
"Microsoft.Extensions.Options": "1.0.0-*" "Microsoft.Extensions.Options": "1.0.0-*"
}, },
"frameworks": { "frameworks": {
"net451": { }, "net451": {},
"dotnet5.4": { } "netstandard1.3": {
"imports": [
"dotnet5.4"
]
}
} }
} }

View File

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

View File

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