Skip to content
Snippets Groups Projects
Commit 70a83542 authored by Антон Кудряшов's avatar Антон Кудряшов
Browse files

file path issue troubleshooting

parent 77e18d6b
Branches
No related tags found
No related merge requests found
...@@ -83,7 +83,7 @@ namespace MES_Wind ...@@ -83,7 +83,7 @@ namespace MES_Wind
{ {
string curDir = Environment.CurrentDirectory; string curDir = Environment.CurrentDirectory;
string pathToTests = "\\MES_test_new\\"; string pathToTests = "\\MES_test_new\\";
string file_path = curDir + pathToTests; string file_path = System.IO.Path.GetDirectoryName(System.IO.Path.GetDirectoryName(curDir)) + pathToTests;
map1.AddLayer(file_path+"u_test.asc"); map1.AddLayer(file_path+"u_test.asc");
map1.AddLayer(file_path + "v_test.asc"); map1.AddLayer(file_path + "v_test.asc");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment