2
Answers

problem with setup

Ask a question
darma teja

darma teja

12y
1.5k
1
In my project i added one text file.

When i made setup i included text file also.

After installing on target machine, i am getting error in the reading of text file.

My question is do i have to change the code to read the text file or i have to change the path.

here is my code i wrote:

 string[] lines = System.IO.File.ReadAllLines(@"names.txt");


Darma

Answers (2)