Hello Everybody,
I tried to write a small C# Add-In near to the discription on
https://bellekens.com/2011/01/29/tutorial-create-your-first-c-enterprise-architect-addin-in-10-minutes/.
For the new project I chose a .NET Standard Class Library and referenced the Interop.EA.dll as described. Then I appended the code and added the registry key.
The problem I had following the instrunctions were making the assembly COM-visible and Register for COM interop. I read that the Assembly Informations in Visual Studio 2017 can be found in the "Application" tab, but in my case the
"Assembly Information" button was missing. Furthermore the Checkbox "Make assembly COM-visible" is greyed out.
To solve this problem I added in the C#-sharp code " [ComVisible(true)]" to the class and " [ComRegisterFunctionAttribute]" but the Add-In doesn't work. In the EA "Manage Add-Ins" my Add-In has the Status "Error Missing".
Perhaps it was the wrong way choosing a .NET Standard Class Library, I'm really new in .NET developments.
For backround information: I'm using Visual Studio Community 2017, EA 14 on a Windows 10 system.
Thanks for help!