Hello,
I tried to register a Addin in my EA.
I did the steps described here:
http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/automation/deployingaddins.htmlI used
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "C:\...\...Exporter.dll" /codebase
instead of
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe "C:\...\...Exporter.dll" /codebase
because my AddIn is on .Net v4 and using the v2 regasm.exe results in an error:
"RegAsm : error RA0000 : "C:\...\...Exporter.dll" konnte nicht geladen werden, da es sich nicht
um eine gültige .NET-Assembly handelt."
Using the first one results that registration was successfull.
I ran the powershell with administrator rights for the commands above.
My Windows is Server 2012 all Updates, my EA is 10.0.1005.
Using regedit I inserted a registry entry as described. There were still two other entries similar to the one I created.
HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins\...Exporter
with Key:
(Standard) REG_SZ ...Exporter.Main
The projects name in Visual Studio C# is "...Exporter".
The main-class is Main.cs.
I still restarted the server to be sure.
When starting EA going to "Extensions --> Manage Add-Ins..." the next Window (see attachement "1.png")
shows the new Add-In but with status "Error - Missing (0x80040154).
1.png Quick Google search shows amongst others "class not registered".
I do no know what I did wrong or how to solve it.
Any advice would be grateful.
Thank in advance.