big changes

This commit is contained in:
Mike Gisler
2026-07-28 08:03:12 +02:00
parent c73f53d740
commit 4d19873776
179 changed files with 14953 additions and 494 deletions
@@ -14,6 +14,26 @@ public static class PathResolver
return Path.GetFullPath(path);
}
return Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, path));
return Path.GetFullPath(
Path.Combine(
AppContext.BaseDirectory,
path));
}
public static string ResolveRequiredFile(
string configuredPath,
string description)
{
string resolvedPath =
ResolvePath(configuredPath);
if (!File.Exists(resolvedPath))
{
throw new FileNotFoundException(
$"{description} wurde nicht gefunden.",
resolvedPath);
}
return resolvedPath;
}
}