Skip to content

Commit 14f87e0

Browse files
Fix incorrect image path in Linux environment (#1052)
1 parent af20214 commit 14f87e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/dotnetframework/GxClasses/Core/GXApplication.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3781,7 +3781,7 @@ Hashtable Images
37813781
{
37823782
GXLogging.Debug(Logger, "Searching for txt files ..");
37833783
int srchIx = 0;
3784-
string[] paths = new string[] { ".\\", "..\\" };
3784+
string[] paths = { Directory.GetCurrentDirectory(), Directory.GetParent(Directory.GetCurrentDirectory()).FullName};
37853785
bool found = false;
37863786
while (!found && srchIx < paths.Length)
37873787
{

0 commit comments

Comments
 (0)