c# - Registering assembly for Interop assembly with COM visible interfaces only gives warning MSB3214 -


i have project single interface marked comvisible(true). if build project, warning msb3214: "" not contain types can registered com interop.

if, however, create empty class, give default constructor , mark comvisible(true), not warning msb3214. see registered class not see interface in registry.

what missing?

this design, in spite of jays link. regasm.exe writes registry keys concrete classes implement interface. progid , clsid keys. com have registration interfaces (hkcr\interfaces) proxies registered there. .net has no mechanism create proxies.

an assembly only interface declarations useful create type library, allowing other projects implement them. creating type library not problem, use tlbexp.exe


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -