Click here to Skip to main content
11,791,059 members (58,095 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 OriginalGriff 1,329
1 Maciej Los 835
2 ppolymorphe 780
3 KrunalRohit 686
4 CPallini 661

Advertise | Privacy | Mobile
Web01 | 2.8.1509028.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