Fix build

This commit is contained in:
John Luo 2016-03-31 11:01:58 -07:00
parent cfd6ec311e
commit a587270b61
2 changed files with 3 additions and 2 deletions

View File

@ -7,8 +7,10 @@ namespace MusicStore
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseDefaultHostingConfiguration(args)
// We set the server before default args so that command line arguments can override it.
// This is used to allow deployers to choose the server for testing.
.UseKestrel()
.UseDefaultHostingConfiguration(args)
.UseIIS()
.UseStartup("MusicStore")
.Build();

View File

@ -23,7 +23,6 @@
"Areas",
"Views",
"wwwroot",
"hosting.json",
"config.json"
],
"dependencies": {