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=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.

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    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.
  • 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.