添加项目文件。
This commit is contained in:
15
RelativePaths.cs
Normal file
15
RelativePaths.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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\\";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user