How do I call
App.myMethod
in A from assembly B?
You can't if A depends on B.
If the event is fired from some class in B you should subscribe to that event from some class in A:
code in A:
var classB = new ClassB(); // presumably in your code in A somewhere
classB.MyEvent += new EventHandler(this.HandleEventFromB);
public void HandleEventFromB(object sneder, EventArgs args)
{
ClassA.StaticMethod();
}
That way B is not dependent on A.
You may need to "bubble up" the event within B to some publicly exposed event in order to subscribe to it from A.