Correct project dependencies

- use latest `System.Net.Http`, not hard-coded version
- add imports for the latest CLI
 - see aspnet/FileSystem@4a9a0fd for the inspiration
This commit is contained in:
Doug Bunting 2016-02-01 10:52:23 -08:00
parent 9c9543dde4
commit 7c7a4a905e
3 changed files with 15 additions and 5 deletions

View File

@ -9,6 +9,7 @@
"Microsoft.AspNetCore.Routing.Extensions": "1.0.0-*",
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.AspNetCore.StaticFiles": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*",
"Newtonsoft.Json": "7.0.1"
},
@ -22,7 +23,9 @@
"frameworks": {
"dnx451": { },
"dnxcore50": { }
"dnxcore50": {
"imports": "portable-net451+win8"
}
},
"publishExclude": [

View File

@ -2,7 +2,8 @@
"dependencies": {
"AntiforgerySample": "1.0.0-*",
"Microsoft.AspNetCore.TestHost": "1.0.0-*",
"Microsoft.AspNetCore.Testing": "1.0.0-*"
"Microsoft.AspNetCore.Testing": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"testRunner": "xunit",
"commands": {
@ -12,15 +13,19 @@
"dnx451": {
"dependencies": {
"Moq": "4.2.1312.1622",
"System.Net.Http": "4.0.1-rc2-23621",
"xunit.runner.console": "2.1.0"
},
"frameworkAssemblies": {
"System.Net.Http": ""
}
},
"dnxcore50": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"System.Net.Http": "4.0.1-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
}
},
"imports": "portable-net451+win8"
}
}
}

View File

@ -8,6 +8,7 @@
"Microsoft.AspNetCore.Http": "1.0.0-*",
"Microsoft.Extensions.DependencyInjection": "1.0.0-*",
"Microsoft.Extensions.WebEncoders": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*",
"xunit": "2.1.0-*"
},
"testRunner": "xunit",
@ -28,7 +29,8 @@
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"xunit.runner.aspnet": "2.0.0-aspnet-*"
}
},
"imports": "portable-net451+win8"
}
}
}