1) Does the problem only affect the 18F's? Can you compile a program for a 16F?

2) Do you have Office 365 installed on your computer?
Office 365 is known to cause this problem with the Microchip MPASM assembler.