Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

I agree with @WCrihfield If you need this complex references, create your own DLL file with all of them.

But because AddVbFile directive is solved at compile time, you can combine this two files from "main" rule.

 

Code.iLogicVb

'AddVbFile "C:\Full\Path\To\ModuleB.vb"
'AddVbFile "C:\Full\Path\To\ClassA.vb"
AddVbFile "IC_11884562\ClassA.vb"
AddVbFile "IC_11884562\ModuleB.vb"

Sub Main()
    ClassA.MSGC()
End Sub

ClassA.vb

Public Class ClassA
    Public Shared Sub MSGC()
        System.Windows.Forms.MessageBox.Show("Call from ClassA")
        ModuleB.MSGM()
    End Sub
End Class

ModuleB.vb

Public Module ModuleB
    Public Sub MSGM()
        System.Windows.Forms.MessageBox.Show("Call from ModuleB")
    End Sub
End Module

 

Screenshot from iLogic external rules settings

MichaelNavara_0-1681195811815.png