Fix samples used by tests

This commit is contained in:
John Luo 2016-02-24 16:12:32 -08:00
parent da93a75da4
commit bb4a04b3a3
3 changed files with 6 additions and 4 deletions

View File

@ -19,7 +19,11 @@
"frameworks": { "frameworks": {
"dnx451": { }, "dnx451": { },
"dnxcore50": { } "dnxcore50": {
"dependencies": {
"NETStandard.Library": "1.0.0-*"
}
}
}, },
"publishExclude": [ "publishExclude": [

View File

@ -10,6 +10,7 @@ namespace LocalizationWebsite
public static void Main(string[] args) public static void Main(string[] args)
{ {
var host = new WebHostBuilder() var host = new WebHostBuilder()
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
.UseDefaultConfiguration(args) .UseDefaultConfiguration(args)
.UseStartup("LocalizationWebsite") .UseStartup("LocalizationWebsite")
.Build(); .Build();

View File

@ -1,3 +0,0 @@
{
"server": "Microsoft.AspNetCore.Server.Kestrel"
}