Buy this document and study it closely. It could save or make you tens of thousands of dollars, or more, or keep you out of some serious trouble.
http://hbr.org/product/structuring-real-estate-deals-an-investor-s-perspective/an/208066-PDF-ENG
Harvard Business School’s Professor Segel is a very, very wise man who has a lot of transaction experience.
I don’t sensationalize… ignore this real estate joint venture primer at your own risk.