Updated to use the new target framework in project.json

This commit is contained in:
David Fowler 2014-08-28 23:39:13 -07:00
parent 226e6f3291
commit 77d6318cfc
5 changed files with 7 additions and 7 deletions

View File

@ -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"
} }

View File

@ -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"
} }

View File

@ -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;

View File

@ -10,7 +10,7 @@
"allowUnsafe": true "allowUnsafe": true
} }
}, },
"k10": { "aspnetcore50": {
"compilationOptions": { "compilationOptions": {
"define": [ "TRACE", "K10" ], "define": [ "TRACE", "K10" ],
"allowUnsafe": true "allowUnsafe": true

View File

@ -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",