Are you sure that MPASM is selected in the
View | Compile and Program options | Assembler tab

I forget that all the time, and the error messages never indicate what the problem really is.
<br>