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-*",
|
"version": "1.0.0-*",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Kestrel": "1.0.0-*",
|
"Kestrel": "1.0.0-*",
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"net45": { },
|
"net45": { },
|
||||||
"k10": {
|
"aspnetcore50": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Console": "4.0.0.0"
|
"System.Console": "4.0.0.0"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"version": "1.0.0-*",
|
"version": "1.0.0-*",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Microsoft.AspNet.Hosting": "1.0.0-*",
|
"Microsoft.AspNet.Hosting": "1.0.0-*",
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
"net45": {
|
"net45": {
|
||||||
"dependencies": { }
|
"dependencies": { }
|
||||||
},
|
},
|
||||||
"k10": {
|
"aspnetcore50": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Runtime": "4.0.20.0"
|
"System.Runtime": "4.0.20.0"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ namespace Microsoft.AspNet.Server.Kestrel.Networking
|
||||||
{
|
{
|
||||||
public static bool IsWindows()
|
public static bool IsWindows()
|
||||||
{
|
{
|
||||||
#if K10
|
#if ASPNETCORE50
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
var p = (int)Environment.OSVersion.Platform;
|
var p = (int)Environment.OSVersion.Platform;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
"allowUnsafe": true
|
"allowUnsafe": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"k10": {
|
"aspnetcore50": {
|
||||||
"compilationOptions": {
|
"compilationOptions": {
|
||||||
"define": [ "TRACE", "K10" ],
|
"define": [ "TRACE", "K10" ],
|
||||||
"allowUnsafe": true
|
"allowUnsafe": true
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
"net45": {
|
"net45": {
|
||||||
"compilationOptions": { "define": [ "TRACE" ] }
|
"compilationOptions": { "define": [ "TRACE" ] }
|
||||||
},
|
},
|
||||||
"k10": {
|
"aspnetcore50": {
|
||||||
"compilationOptions": { "define": [ "TRACE" ] },
|
"compilationOptions": { "define": [ "TRACE" ] },
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Net.Sockets": "4.0.0.0",
|
"System.Net.Sockets": "4.0.0.0",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue