[resolved] How to write on a file on parent folder

Alouka

Пользователь
Регистрация
30.07.2015
Сообщения
89
Благодарностей
5
Баллы
8
Hello,

i want to write to a file in the project parent folder, i proceed by doing this :

var workingDirectory = project.Variables["path"].Value;
var di = new System.IO.DirectoryInfo(workingDirectory);
return di.Parent.FullName;

And in my list i set the file to the csv file : parentPath\file.csv but entries are added to the list in content viewer but not on the file .. any idea ?

Thank you !!
 

Alouka

Пользователь
Регистрация
30.07.2015
Сообщения
89
Благодарностей
5
Баллы
8
Resolved : i added list processing> save to file then a delete all for clearing project list lines :-)
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 233
Благодарностей
5 846
Баллы
113

Alouka

Пользователь
Регистрация
30.07.2015
Сообщения
89
Благодарностей
5
Баллы
8
My issue was dynamic parent directory path not the project one. Thank you for reply :-)
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 233
Благодарностей
5 846
Баллы
113

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)