Is there a way to check that some library (assume dll) referenced in project.
Example
public void SomeFunction()
if(libraryReferenced){
//
}
}
And in outer project //Library not Referenced
MyDll.SomeFunction();
In my dll function // libraryReferenced = false
and vice versa
Thanks.