make sure active assembly object extern variable is always the same type, as visual studio can't find it if derived classes are used