Home - Forums-.NET - FlyGrid.Net (Windows Forms) - COM Interop registration failed after inheritance from Node

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

COM Interop registration failed after inheritance from Node
Link Posted: 16-Oct-2007 21:35
Hello technical support,

after the following inheritance:

internal class CE_Node : Node, IStyledNode

everything works!

if I use:

public class CE_Node : Node, IStyledNode

I got the following compilation error

Building satellite assemblies...
Registering project output for COM Interop...
COM Interop registration failed. Could not find a type library for assembly 'NineRays.FlyGrid'.

Could you explain why the change from internal to public has such an effect?

Thanks in advance
Hans
Link Posted: 17-Oct-2007 00:56
This is because public types are COM visible by default.

You can try to set smth like this:

[ComVisible(false)]
public class CE_Node : Node, IStyledNode