Click here to Skip to main content
11,717,620 members (79,135 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: WPF VB.NET
when i install my setup the path of the project is change .how to prevent that or how to know the project path .i want the path upto the project name.i dont want the debug path
Posted 8-Mar-13 19:19pm
Sergey Alexandrovich Kryukov at 9-Mar-13 1:44am
If the application is deployed, there is no "project". Do you mean executable directory?
Besides, there are no such things as "Release path" or "Debug path". You probably don't understand what is build, application, assembly, etc.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please see my comment to the question. Most likely, you just need to find out where the directory where your application is located during run time. I explained it in a comprehensive way in my past answer:
How to find my programs directory[^].


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 764
1 OriginalGriff 215
2 F-ES Sitecore 210
3 Maciej Los 140
4 Jochen Arndt 120
0 Sergey Alexandrovich Kryukov 1,494
1 OriginalGriff 535
2 Maciej Los 529
3 Richard MacCutchan 440
4 CHill60 415

Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 9 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100