Setting the tris will make those pins inputs, so they will be 'low' when measured.
You should clear the tris for the pins (make it '0') and then in your loop write '1' to the port (not the tris) delay (important, pic runs to fast to see anyting happen without delay) and then write '0' to the port.
If your sure your software is correct and it doesn't run then there may be a oscillator problem. What oscillator are you using and how fast is it?
common problems are :
No oscillator :roll:
wrong config fuses (0-4Mhz XT, 4MHZ+ HS)