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"
},
"frameworks": {
"dnx451": { },
"dnxcore50": {
"dnx451": {},
"netstandardapp1.5": {
"dependencies": {
"NETStandard.Library": "1.0.0-*"
},
"imports": "portable-net451+win8"
"imports": [
"dnxcore50",
"portable-net451+win8"
]
}
},
"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"
},
"frameworks": {
"dnxcore50": {
"netstandardapp1.5": {
"dependencies": {
"System.Data.SqlClient": "4.0.0-*",
"System.Net.Http": "4.0.1-*",
"System.Xml.XmlDocument": "4.0.0-*",
"dotnet-test-xunit": "1.0.0-dev-*"
},
"imports": "portable-net451+win8"
"imports": [
"dnxcore50",
"portable-net451+win8"
]
}
},
"testRunner": "xunit"

View File

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