LED Blink is not working but code can program with PIC18F4550 and MikroC
TRIS are the registers that control the direction (input or output) of a pin. You use only this register, so all you are doing is toggling between input and output.

The first line is correct, but in the loop you must use a PORT or (better) LAT register to toggle the pin between high and low.