I have a bug catcher that kind of looks like a Dyson bladeless fan but runs in reverse. Inside the ring, there's UV (?) LEDs to attract bugs. Once they fly in, the fan sucks them down into the base where there's a sticky paper. The base has a tight mesh around it so they are trapped if they somehow manage to not hit the sticky paper immediately. We use it for soil gnats but I've also seen some houseflies in there too.
I changed the video link to an updated version where he goes into much more detail. You don't need any lure (I didn't use any), but you can see in the updated link that he places the fans around where his dog sleeps and also uses a bottle of soda with the cap slightly unscrewed to slowly leak CO2.
In general though, if there are enough mosquitos around they will get caught in it without any additional effort.