Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Viking on July 13, 2020, 01:20:17 am
-
Hello,
I try to use the "Enterprise Architect Add-in Framework" from Geert Bellekens.
But I cannot get rid of a missing reference problem.
I added all the projects and dependencies to the solution. So the complete solution consists of:
• Cobol-Object-Mapper
• DatabaseFramework
• DDL-Parser
• EAAddinFramework
• EAAddinTester
• MappingFramework
• MyAddin
• RequirementsFramework
• SchemaBuilderFramework
• SparxAddin
• UMLToolingFramework
• WorkTrackingFramework
The example “MyAddinClass” contains the code “using TSF_EA = TSF.UmlToolingFramework.Wrappers.EA;”.
Visual Studio complains: The type or namespace name 'TSF' could not be found (are you missing a using directive or an assembly reference?). But the library is part of the solution. The reference of EAAddinFramework is added to MyAddin.
In the internet there are recommendations to change the .NET Framework. It is currently set to 4.5.1 for all projects.
What’s wrong? V.
-
I'm guessing one of the projects isn't getting compiled because of another issue.
Try building each project individually, starting from the lowest level projects that don't depend on another project.
Then work your way up to MyAddin project.
It could be an issue with the reference to the Interop.EA.dll
Sometimes it helps to remove it and add it again.
Geert
-
I am aware it has been a long time, so I'm replying for those who have the same issue and are reading this post.
I had the same problem. I solved the issue by deleting the .wix files, and downloading the folders "EARefDataSplitter" and "TextHelper".