Add support for tool paths

features/nuget_autobuild
Matija Koželj 2 years ago
parent 4d5c93f094
commit 9d22093165

@ -84,7 +84,7 @@ public class DependencyLoader
/* /*
* Install packages in standard location. * Install packages in standard location.
*/ */
var packageDirectory = Path.Combine(AppContext.BaseDirectory, ".packages"); var packageDirectory = Path.GetFullPath(".packages");
var nugetSettings = Settings.LoadDefaultSettings(packageDirectory); 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(); cfg.AddEnvironmentVariables();
}) })
.ConfigureServices((context, services) => .ConfigureServices((context, services) =>

Loading…
Cancel
Save