I need to the the bin path of the executing assembly.
How do you get it?
I have a folder Plugins in the Bin/Debug and I need to get the location
I need to the the bin path of the executing assembly. How do you
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is how you get the execution path of the application:
MSDN has a full reference on how to determine the Executing Application’s Path.
Note that the value in
pathwill be in the form offile:\c:\path\to\bin\folder, so before using the path you may need to strip thefile:\off the front. E.g.: