@ -84,7 +84,7 @@ public class DependencyLoader
/*
* Install packages in standard location.
*/
var packageDirectory = Path.Combine(AppContext.BaseDirectory, ".packages");
var packageDirectory = Path.GetFullPath(".packages");
var nugetSettings = Settings.LoadDefaultSettings(packageDirectory);
@ -30,6 +30,9 @@ namespace Connected.Host
}
if(File.Exists(Path.GetFullPath("./sys.json")))
cfg.AddJsonFile("./sys.json", true, false);
cfg.AddEnvironmentVariables();
})
.ConfigureServices((context, services) =>