Fix startup when you reference the assembly directly instead of Hosting
- I missed this change in Program.cs when doing the initial package merging
This commit is contained in:
parent
9275250f6e
commit
097fb35ddf
|
|
@ -13,6 +13,7 @@
|
|||
},
|
||||
"commands": {
|
||||
"run": "Microsoft.AspNet.Server.Kestrel",
|
||||
"kestrel": "Microsoft.AspNet.Server.Kestrel",
|
||||
"web": "Microsoft.AspNet.Hosting"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ namespace Microsoft.AspNet.Server.Kestrel
|
|||
public void Main(string[] args)
|
||||
{
|
||||
var program = new Microsoft.AspNet.Hosting.Program(_serviceProvider);
|
||||
var mergedArgs = new[] { "--server", "Kestrel" }.Concat(args).ToArray();
|
||||
var mergedArgs = new[] { "--server", "Microsoft.AspNet.Server.Kestrel" }.Concat(args).ToArray();
|
||||
program.Main(mergedArgs);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue