Select to view content in your preferred language

Warning References to embedded interop assembly in arcobject.net

3179
1
03-11-2014 10:07 PM
cynthiasinha
Emerging Contributor
Hi all,
The following warning is showing whenever i build my project.

A reference was created to embedded interop assembly 'ESRI.ARCGIS.Geodatabse' because of an indirect reference to that assembly from assembly ESRI.arcgis.carto.Consider changing the 'Embed Interop Types' property on either assembly.

Kindly explain the reason behind this warning and how to solve it???
0 Kudos
1 Reply
NeilClemmons
Honored Contributor
As the message states you should consider changing the Embed Interop Types property on your assembly references.  By default, it's True.  Changing it to False will cause the warning to go away.  I would recommend you do this.  This property is new with the 4.0 .NET Framework.  Switching your project to use the 3.5 .NET Framework will also make the warning go away.
0 Kudos