type eligible for equivalence, but is not marked as public
vk
Posts: 2
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.
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
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.