15 lines
531 B
C#
15 lines
531 B
C#
using System.IO;
|
|
using System.Reflection;
|
|
|
|
namespace SZBIM.StandardTools
|
|
{
|
|
public static class RelativePaths
|
|
{
|
|
public static readonly string AddInPath = Assembly.GetExecutingAssembly().Location;
|
|
|
|
//public static readonly string DllPath = typeof(RelativePaths).Assembly.Location;
|
|
public static string DirAssembly = Path.GetDirectoryName(AddInPath);
|
|
public static string FamilyFolder = $"{DirAssembly}\\Libraries\\";
|
|
public static string LogFolder = $"{DirAssembly}\\Log\\";
|
|
}
|
|
} |