AnsweredAssumed Answered

Why i am Getting an Error Using My.Application.Info.DirectoryPath (EPDM Addin)

Question asked by Georg Draxler on Apr 28, 2016
Latest reply on Apr 29, 2016 by Georg Draxler



I am writing an Addin for EPDM. In my code i am reading information from a file in the Application directory. To get this directory i always used


This always worked for me in any application but not for the epdm addin. As basic structure i am using the epdm sdk.

The addin is working if i hardcode the path. E.g. path = c:\myfolder1\addin\some.fil

I found out, that the problem starts with using My.Applicatiion.


You can see the error in the attached screenshot. (sorry it is in german)


Can somebody help me please?