Type is marked as eligible but is not marked as public.
Lulzy
Posts: 4
Stack trace:
This always happened before a certain timer is enabled. (from another timer in the same form)
First timer is to wait before execution of next timer, in other words not much stuff here. Second timer (to-be-executed from first) loads stuff from a HTML webpage.
I have tested the program before SmartAssembly-ing it, it works fine.
Help please? I'm using trial version by the way.
System.TypeLoadException Could not load type '.„' from assembly 'MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=37ff7609970e6758'. The type is marked as eligible for type equivalence, but it is not marked as public. at ..™(Object , EventArgs ) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
This always happened before a certain timer is enabled. (from another timer in the same form)
First timer is to wait before execution of next timer, in other words not much stuff here. Second timer (to-be-executed from first) loads stuff from a HTML webpage.
I have tested the program before SmartAssembly-ing it, it works fine.
Help please? I'm using trial version by the way.
Comments
If not, I'll need to scratch my head a bit more ....
Nope, I'm not using InternalsVisibleTo() at all. And I do have a warning after building it but in orange italic font.
At least one dependency does not have a strong name. As your assembly has been signed with a strong name, it may fail to load this dependency.
None of my embedded dependencies load at the point of time when the error occur.