c# - How to fix a warning "Non COM-visible value type is being referenced either from the type currently being exported or from one of its base types"? -


i develop activex component. inherits system.windows.forms.usercontrol.

when build project in visual studio, 0 errors , 20 warnings looks following sample: "warning : type library exporter warning processing 'activexcontrol.activexcontrol.get_anchor(#0), activexcontrol'. warning: non com visible value type 'system.windows.forms.anchorstyles' being referenced either type being exported or 1 of base types."

i have tried google solution fix these warnings, can't find helps me.

any idea how can fix these warnings?

look answer in first comment of post.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -