Autogenerate an xdt file if there isn't one