Exact steps to create a project in MPLAB without harmony

Which FreeRTOS port are you using? Are you using PIC18F port?

Could this be relevant - https://forum.microchip.com/s/topic/a5C3l000000MZ0wEAG/t364654?comment=P-2791759?