I've done a bit more investigating and think I may have stumbled onto something helpful. I can successfully upload the sketch to the MegA2560 over the Dragino WiFi if I use the Arduino IDE. When doing so, the Board is set to Mega2560 and the port set to the WiFi Yun IP address. Whenever I try to do the same in Visual Studio, setting the board to Mega2560 seems to be unable to send the sketch:
ino6\bin\avrdude rduino6/etc/avrdude.conf" -v -patmega2560 -cwiring -P192.168.1.250 -b115200 -D 2560/Thermostat.ino.hex:i"
avrdude: Version 6.3, compiled on Sep 12 2016 at 17:24:16
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is uino6/etc/avrdude.conf"
Using Port : 192.168.1.250
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "192.168.1.250": The system cannot find the file specified.
avrdude: ser_drain(): read error: The handle is invalid.
Upload failed
avrdude: ser_send(): write error: sorry no info avail
The only way the Visual Studio will attempt to load the sketch over WiFi is by choosing a board type of Yun. but then I suspect the compiled code is not compatible w/ the 2560 since it just goes unresponsive. The attached pic shows the Arduino IDE settings which work every time.