I want to call managed code if and only if the currently executing assembly references it and has a match for that function name.
I have a function
Public Function TestReadableProperties() As String
' Not sure where to go with this line
' Dim names = Reflection.Assembly.GetExecutingAssembly.GetReferencedAssemblies()
Return bLib.bReflection.GetAllReadableProperties(Me)
End Function
if the bLib.dll is not present, then I don't want the project using this DLL to complain or crash. I'd like to not have warnings about conflicting versions of dependent assemblies. This code is nice to have for testing, but I'd like to remove the dependency on this library without removing functionality if the dependencies happen to match up.
Is this possible?