Registration of AddIn and local path

Add-in Express™ Support Service
That's what is more important than anything else

Registration of AddIn and local path
 
Matthias Kwiedor




Posts: 35
Joined: 2004-10-14
I build a project with Add-In-Express 2.2! In this Version i have the

Assembly.GetExecutingAssembly().Location

at the Project Path (Debug/Release).

Now with 2.6 it is located in the user local datas ("dl2/../../") where i have the dll and a __AssemblyInfo__.ini with a entry called

URL=file://....

which has the Project Path in and leads to the dll!

In this Project i have several dll's which are not in the local data path, but in the project bin path! So the URL= has to be reload the addin dll?

Now i have to load datas (files/database), but i don't get the project bin path! Is there a way to get this path?


Regards


Matthias Kwiedor
Posted 11 Jul, 2006 10:00:36 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Matthias.

Try to use the Assembly.GetExecutingAssembly().CodeBase property.
Posted 11 Jul, 2006 10:08:14 Top