Fix design time error "Unable to determine application identity of the caller"