Does 我喜欢你上课 mean "I like your class" or something like "I like it when you go to class"?
我喜欢你上课


Most of time, it means 我喜欢你上的课 "I like you to teach the class， instead the class is taught by other teachers". 

It rarely means "I like you to take the class".