I created a class library in C# for addinn and my Enterprise architect is loading it in Extensions but when I create a WPF application and change its output type to library but Enterprise architect is not able to load this library.
Asked
Active
Viewed 166 times
-2
-
4Please read http://stackoverflow.com/help/how-to-ask and restate your question. – soundslikeodd Dec 30 '16 at 17:47
-
I guess that's a WPF issue then and you should dig there. – qwerty_so Dec 31 '16 at 00:37
1 Answers
0
EA only reads ddl's as add-in that have an addin-class exposed to COM.
I'm guessing switching to WPF messed up the COM registration of your add-in class.
Some more info on writing add-ins for EA on my website

Geert Bellekens
- 12,788
- 2
- 23
- 50
-
Yes Bellekens its works fine when I create a c# project of class library type and making it COM Visible, registering the assembly for COM Interop and and creating registry key for it. But problem comes when I create a wpf application and set its output type to class library and repeat all the above steps then my addin is not getting Loaded in EA and under manage addins I am founding it as missing status.This I want to do because I want to include wpf window insted of older windows forms. – Akshay Singh Jan 04 '17 at 19:26
-
-
I don't know enough of WPF to answer that, but you are not obligated to have only one project. Why don't you create a regular class library project for the add-in class, and a WPF project for your GUI? Then reference the WPF project in your add-in project. – Geert Bellekens Jan 06 '17 at 06:07