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-*",
"dependencies": {
"Kestrel": "1.0.0-*",
@ -7,7 +7,7 @@
},
"frameworks": {
"net45": { },
"k10": {
"aspnetcore50": {
"dependencies": {
"System.Console": "4.0.0.0"
}

View File

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

View File

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

View File

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

View File

@ -8,7 +8,7 @@
"net45": {
"compilationOptions": { "define": [ "TRACE" ] }
},
"k10": {
"aspnetcore50": {
"compilationOptions": { "define": [ "TRACE" ] },
"dependencies": {
"System.Net.Sockets": "4.0.0.0",