Different paths at development and deployment time in windows application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mukeshk
    New Member
    • Mar 2007
    • 4

    Different paths at development and deployment time in windows application

    hi,
    I want to know the project directory path for my windows application. I have a file(say Myfile.txt) which is included in the project as
    Solution Dir
    -Project Dir
    --project files
    --Myfile.txt

    when i run the project the binaries are located in \bin\debug or release folders. but when create a setup and deploy the project the binaries are directly deployed in the project folder, due to which there is two different paths at development & deployment time. And I can't read my file which is included in the project. Can somebody help me sort out this issue?

    Thanks in advance
    Mk
Working...