This is probably the most sound advice.....consult a professional who can help complete an analysis before making decision.
That being said, houses might appreciate, but they also consume cash.....insurance, upkeep, taxes, etc. From a pure return on investment, my house is my worse asset.