Hi,
I have developed Custom Visualwebpart and deployed it in SharePoint web application. I want to get current directory of the visual webpart (the location where the solution file resides) . When I use Directory.GetDirectoryName() or Path.GetDirectoryName(Application.ExecutablePath) it gives C:\Windows\ not the local directory where I placed my solution file.
how to get the path of the solution file in custom webpart?
Any help will be greatly appreciated...
Thanks, Sures | MCTS SharePoint