Merge branch 'release/FixAppDir'
This commit is contained in:
@@ -4683,8 +4683,12 @@ namespace IOB_WIN_NEXT
|
||||
}
|
||||
|
||||
// test directory...
|
||||
string basePath = Application.StartupPath;
|
||||
|
||||
/* TEST DIRECTORY
|
||||
// questa prende dir = IOB-MAN
|
||||
string basePath = Directory.GetCurrentDirectory();
|
||||
string appStart = Application.StartupPath;
|
||||
// alternative OK
|
||||
string exePath = Path.GetDirectoryName(new Uri(Assembly.GetExecutingAssembly().CodeBase).LocalPath);
|
||||
string sacBaseDir = System.AppContext.BaseDirectory;
|
||||
lgInfo("--------- DIR TEST -------------");
|
||||
@@ -4693,6 +4697,7 @@ namespace IOB_WIN_NEXT
|
||||
lgInfo($"exePath: {exePath}");
|
||||
lgInfo($"sacBaseDir: {sacBaseDir}");
|
||||
lgInfo("----------------------");
|
||||
*/
|
||||
|
||||
string localPath = Path.Combine(basePath, locDir);
|
||||
lgInfo($"basePath: {basePath} | localPath: {localPath}");
|
||||
|
||||
Reference in New Issue
Block a user