DovetailSettings
Classstaticnet10.0
Settings that change how Dovetail sets up a host, read from the host's own configuration (environment variables, command line, or anything added before Dovetail runs) rather than from Dovetail's configuration files.
namespace Joinery.Dovetail;
public static class DovetailSettings{ // ...}Methods2
Section titled Methodsstring? The full path of
DovetailSettings.ConfigurationDirectory when configuration sets it, or else the Dovetail__ConfigurationDirectory environment variable does (for hosts whose configuration doesn't read environment variables); otherwise null. string? The directory of the entry point file of a file-based app (
dotnet run Build.cs ), where its configuration files sit, or null for any other app. Fields1
Section titled FieldsConfigurationDirectory staticstring The configuration key naming the directory the configuration joints read their files from. Every host that reads configuration files from disk honors it. Without it, the joints read from the directory of the entry point file of a file-based app (
dotnet run Build.cs ), and otherwise from the host's own file provider, which the host roots at its content root. A relative path is resolved against the current directory. Wherever they look, a project whose base file isn't there has its files read from the application's output directory, where the build copied them.