How can I get the addin execute path
C#
2
Posts
1
Posters
0
Views
1
Watching
-
Hi, I implemented a add-in for visual studio 2005. But, I don't know how to get the path of the add-in dll? I.e. I will install the add-in to C:\Add-in\ When the add-in is executed, how can I get the path? Appreciate you help.
-
Hi, I implemented a add-in for visual studio 2005. But, I don't know how to get the path of the add-in dll? I.e. I will install the add-in to C:\Add-in\ When the add-in is executed, how can I get the path? Appreciate you help.
string appPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase); Resolved. :)