Interop type cannot be embedded

Posted by Jan on Stack Overflow See other posts from Stack Overflow or by Jan
Published on 2010-03-20T15:47:01Z Indexed on 2010/03/20 15:51 UTC
Read the original article Hit count: 215

Filed under:
|

I am creating an web application on the .net 4.0 framework (beta2 ) in C#.

When I try to use a assembly called "ActiveHomeScriptLib", I get the following error:

Interop type 'ActiveHomeScriptLib.ActiveHomeClass' cannot be embedded. Use the applicable interface instead.

When I change the framework to version 3.5, I don't have any errors.

What is an Interop Type and why does this only occur when I use the 4.0 framework.

© Stack Overflow or respective owner

Related posts about c#4.0

Related posts about visual-studio-2010