Kirti Deshpande

Kirti Deshpande

  • NA
  • 108
  • 17k

How to get Path where output exe located

Jan 17 2022 9:29 AM

Hi 

I need to get the path where the output exe located.

After Build,my Output dll is dummped into the location C:/Test1/Test2/Test3.

I also set this Path in Build/Output Path

Now there is one test.xml file  I copied at same location Through Post Build event.

Now I want to Path of this file In my code (Like C:/Test1/Test2/Test3/test.xml ).but i dont  want Hrad coded path

Is there any way to featch this path?

 

Thank you.


Answers (3)