How can we help you today? How can we help you today?

type eligible for equivalence, but is not marked as public

I am using trial version of SmartAssembly, and having issue with understanding what can i do to avoid next error

Form1.ExecuteNextStep-Could not load type 'XX.XX' from assembly 'MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The type is marked as eligible for type equivalence, but it is not marked as public.
[2010-09-06 14:23:23.484] Form1.ExecuteNextStep- at X.
vk
0

Comments

2 comments

  • Brian Donahue
    Hi Volody,

    It's pretty clear that you are trying to bind to a member in another assembly using reflection, so if you are using merging you may have to switch to embedding. Trying to bind to types that have been renamed by SmartAssembly may also fail.
    Brian Donahue
    0
  • Brian Donahue
    It could also be that the assembly being merged has the PrimaryInteropAsssembly attribute set. SA doesn't support that merging scenario yet as far as I'm aware.
    Brian Donahue
    0

Add comment

Please sign in to leave a comment.