I do it by meditating and asking the mosquitoes not to bother me. It works most of the time - but maybe not for a someone who doesn't meditate a lot.
My second favorite technique is to walk with a friend who eats more sugar that I do - they get bitten, and I don't.
On a more practical note, a bat house is a great idea. It is also good to have good drainage on your property, so you're not breeding mosquitoes after every rainstorm. Essential oil of citronella is an excellent bug repellent, and citronella candles can work for a yard. At the high end, I've heard the best device is a trap that released warm, moist CO2, imitating animal breath. The mosquitoes come to find the animal, then get trapped. This was developed by the US military to clear large swamps, is now available retail, and is environmentally harmless.