AnsweredAssumed Answered

How to access data located inside the installation location of an Add-in?

Question asked by keithpower on Mar 25, 2015
Latest reply on Mar 29, 2015 by FGibson-esristaff

I am creating an Add-in for ArcMap 10.2 using C#.NET.  Documentation for Python Add-ins says you can access the data located inside the installation location using the __file__ built-in function.

 

How do I access this location in .NET?  I know the location is "C:\Users\<username>\AppData\Local\ESRI\Desktop10.0\AssemblyCache" but that isn't very helpful since I don't know the username.

 

Thanks,

Keith

Outcomes