-1

I have a solution that contains a lot of projects, I just put an archive in the next path Solution -> Project('Functions') -> Folder('Pantallas') -> File('markercluster.js')

and now I want to reference this archive, getting the path of the current location of the application plus 'Functions/Pantallas/markercluster.js'

how I can do that?

D4rWiNS
  • 2,585
  • 5
  • 32
  • 54
  • I think you want to read embedded Resources: http://stackoverflow.com/questions/3314140/how-to-read-embedded-resource-text-file – Alex H Apr 10 '15 at 11:27

1 Answers1

-1

I get the executablePath and then eliminated the .exe

string exePath = Application.ExecutablePath;

and then IN MY CASE( cause my .exe name is 21 characters length)

 exePath = exePath.Substring(0,exePath.Length-21);
D4rWiNS
  • 2,585
  • 5
  • 32
  • 54