Mushrooms do emit moisture as they cook. Roast them at a high temperature and make sure they are not crowded in the baking pan. Leave room around the mushrooms to allow the moisture to evaporate.