Way to get deployment file directory during runtime?
Options
Dafeesh
✭
I've tried using Directory.GetCurrentDirectory() but it returns
"D:\...\...\deploy\CounterPublisher" instead of the project. How can I reliably find the deploy directory of the running project during runtime?
Thank you
"D:\...\...\deploy\CounterPublisher" instead of the project. How can I reliably find the deploy directory of the running project during runtime?
Thank you
0
Comments
-
Sometimes it will be .../deploy/MyProject and sometimes it will be .../deploy/CounterPublisher
I just need a good anchor point to find the project directory0 -
Ah yes, perfect. Thanks!0