FrostCodes Active Member Licensed User Longtime User Jun 9, 2023 #1 Hi, I have a sample project in which I made a class inside it, I used #ExcludeFromLibrary on all the other classes and modules. Still, I can't seem to be able to compile it as a library once a reference is made in the starter service. I have to remove the #ExcludeFromLibrary from the classes referenced to compile it even though my class does not require those classes that are supposed to be excluded.
Hi, I have a sample project in which I made a class inside it, I used #ExcludeFromLibrary on all the other classes and modules. Still, I can't seem to be able to compile it as a library once a reference is made in the starter service. I have to remove the #ExcludeFromLibrary from the classes referenced to compile it even though my class does not require those classes that are supposed to be excluded.
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2023 #2 You should switch to b4xlib.
FrostCodes Active Member Licensed User Longtime User Jun 11, 2023 #3 Not sure I see how it relates to the bug but ok.
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2023 #4 It is a bit related: 1. b4xlib is the recommended format for B4X written libraries. 2. It is a good workaround for the problem.
It is a bit related: 1. b4xlib is the recommended format for B4X written libraries. 2. It is a good workaround for the problem.
FrostCodes Active Member Licensed User Longtime User Jun 11, 2023 #5 Thanks for the clarification, I thought since it's an Android-only library no need for b4xlib. I would try it out in that case.
Thanks for the clarification, I thought since it's an Android-only library no need for b4xlib. I would try it out in that case.