L
linda.ctr.chen
Hi all,
We have an application which is created in .net 1.1(Visual studio
2003). Now we need to create maps from this application. The only
chioce for us is to use ESRI libraries to generate map images.
The issue is, current version of ESRI (ArvGIS 9.2) only support .net
2.0. I wrote a map component with Visual studio 2005, and check the
"Register for COM interop" for the project. This creates both dll and
tlb assemblies.
I was not able to add this com component to my .net 2003 application
as reference. When I tried to add the tlb file as the reference, I got
the following error message:
"A reference to "myMapCom" could not be added. Converting the type
library to a .NET assembly failed. Type library myMapCom was exported
from a CLR assembly and can not be re-imported as a CLR assembly."
Any idea for solving this issue?
Thanks.
Linda
We have an application which is created in .net 1.1(Visual studio
2003). Now we need to create maps from this application. The only
chioce for us is to use ESRI libraries to generate map images.
The issue is, current version of ESRI (ArvGIS 9.2) only support .net
2.0. I wrote a map component with Visual studio 2005, and check the
"Register for COM interop" for the project. This creates both dll and
tlb assemblies.
I was not able to add this com component to my .net 2003 application
as reference. When I tried to add the tlb file as the reference, I got
the following error message:
"A reference to "myMapCom" could not be added. Converting the type
library to a .NET assembly failed. Type library myMapCom was exported
from a CLR assembly and can not be re-imported as a CLR assembly."
Any idea for solving this issue?
Thanks.
Linda