Author Topic: Cannot run Enterprise Architect Add-in Framework  (Read 2883 times)

Viking

  • EA User
  • **
  • Posts: 453
  • Karma: +2/-2
    • View Profile
Cannot run Enterprise Architect Add-in Framework
« 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.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Cannot run Enterprise Architect Add-in Framework
« Reply #1 on: July 13, 2020, 01:34:39 pm »
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

Shara.El

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Cannot run Enterprise Architect Add-in Framework
« Reply #2 on: April 05, 2022, 09:44:46 pm »
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".