In non-ASP.NET apps, default project path to current working directory. Fixes #1100.

This commit is contained in:
Steve Sanderson
2017-08-21 16:40:25 -07:00
parent c2a284d5b8
commit a40adab38d
2 changed files with 7 additions and 3 deletions

View File

@@ -21,7 +21,6 @@ namespace ConsoleApplication
// Since .NET Core 1.1, the HTTP hosting model has become basically as fast as the Socket hosting model
//options.UseSocketHosting();
options.ProjectPath = Directory.GetCurrentDirectory();
options.WatchFileExtensions = new string[] {}; // Don't watch anything
});
var serviceProvider = services.BuildServiceProvider();