Book a Demo

Author Topic: How do I point my addin at interop.ea  (Read 3321 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
How do I point my addin at interop.ea
« on: January 06, 2014, 10:22:59 pm »
Hi
I have inherited the code for an addin but when i compile it I get the following error -
>c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Interop.EA". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

Does anyone know what this means and how I get fix it

Many thanks
Using V12

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13495
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How do I point my addin at interop.ea
« Reply #1 on: January 06, 2014, 10:38:08 pm »
Go to References, remove the existing reference to Interop.EA.dll and add a new one.
Either to the Interop.EA.dll present in the program files, or to a local copy of it (which you also add to your VC system).
The latter option is probably better as it allows you to build the project on another computer where EA might be installed in another location.

Geert

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: How do I point my addin at interop.ea
« Reply #2 on: January 06, 2014, 11:20:02 pm »
Excellent

Thanks Geert
Using V12