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:41:04 -08:00
parent 673f230e6a
commit e1870dd9f3
3 changed files with 21 additions and 10 deletions

View File

@ -56,15 +56,20 @@
"web": "MusicStore" "web": "MusicStore"
}, },
"frameworks": { "frameworks": {
"dnx451": { }, "dnx451": {},
"dnxcore50": { "netstandardapp1.5": {
"dependencies": { "dependencies": {
"NETStandard.Library": "1.0.0-*" "NETStandard.Library": "1.0.0-*"
}, },
"imports": "portable-net451+win8" "imports": [
"dnxcore50",
"portable-net451+win8"
]
} }
}, },
"scripts": { "scripts": {
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath%" ] "postpublish": [
"dotnet publish-iis --publish-folder %publish:OutputPath%"
]
} }
} }

View File

@ -15,14 +15,17 @@
"xunit": "2.1.0" "xunit": "2.1.0"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"dependencies": { "dependencies": {
"System.Data.SqlClient": "4.0.0-*", "System.Data.SqlClient": "4.0.0-*",
"System.Net.Http": "4.0.1-*", "System.Net.Http": "4.0.1-*",
"System.Xml.XmlDocument": "4.0.0-*", "System.Xml.XmlDocument": "4.0.0-*",
"dotnet-test-xunit": "1.0.0-dev-*" "dotnet-test-xunit": "1.0.0-dev-*"
}, },
"imports": "portable-net451+win8" "imports": [
"dnxcore50",
"portable-net451+win8"
]
} }
}, },
"testRunner": "xunit" "testRunner": "xunit"

View File

@ -9,13 +9,16 @@
"XUnit": "2.1.0" "XUnit": "2.1.0"
}, },
"frameworks": { "frameworks": {
"dnxcore50": { "netstandardapp1.5": {
"imports": "portable-net451+win8", "imports": [
"dnxcore50",
"portable-net451+win8"
],
"dependencies": { "dependencies": {
"dotnet-test-xunit": "1.0.0-dev-*" "dotnet-test-xunit": "1.0.0-dev-*"
} }
}, },
"dnx451": { } "dnx451": {}
}, },
"testRunner": "xunit" "testRunner": "xunit"
} }