Updated to use the new target framework in project.json
This commit is contained in:
parent
226e6f3291
commit
77d6318cfc
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{
|
||||
"version": "1.0.0-*",
|
||||
"dependencies": {
|
||||
"Kestrel": "1.0.0-*",
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
},
|
||||
"frameworks": {
|
||||
"net45": { },
|
||||
"k10": {
|
||||
"aspnetcore50": {
|
||||
"dependencies": {
|
||||
"System.Console": "4.0.0.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{
|
||||
"version": "1.0.0-*",
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.Hosting": "1.0.0-*",
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
"net45": {
|
||||
"dependencies": { }
|
||||
},
|
||||
"k10": {
|
||||
"aspnetcore50": {
|
||||
"dependencies": {
|
||||
"System.Runtime": "4.0.20.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Networking
|
|||
{
|
||||
public static bool IsWindows()
|
||||
{
|
||||
#if K10
|
||||
#if ASPNETCORE50
|
||||
return true;
|
||||
#else
|
||||
var p = (int)Environment.OSVersion.Platform;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
"allowUnsafe": true
|
||||
}
|
||||
},
|
||||
"k10": {
|
||||
"aspnetcore50": {
|
||||
"compilationOptions": {
|
||||
"define": [ "TRACE", "K10" ],
|
||||
"allowUnsafe": true
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
"net45": {
|
||||
"compilationOptions": { "define": [ "TRACE" ] }
|
||||
},
|
||||
"k10": {
|
||||
"aspnetcore50": {
|
||||
"compilationOptions": { "define": [ "TRACE" ] },
|
||||
"dependencies": {
|
||||
"System.Net.Sockets": "4.0.0.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue