darma teja

darma teja

  • NA
  • 496
  • 329.7k

problem with setup

Aug 24 2012 8:13 AM
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)