type eligible for equivalence, but is not marked as public

vkvk Posts: 2
edited September 10, 2010 8:31AM in SmartAssembly 5
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=, 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.


  • Brian DonahueBrian Donahue Posts: 6,590 New member
    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 DonahueBrian Donahue Posts: 6,590 New member
    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.
Sign In or Register to comment.