Out of the ether, my mplab seems to have developed a probem.
the format of the file *.cod cannot be read or written its extension is not recognised

where * is my file path C:\....

Contacted melabs and they just said buy new compiler !
my current verison of mplab is 7.0
picpro is 2.43

It has been working fine now I do not seem to be able to generate the code in memory although the asm file seems fine.