'WiFi' was not declared in this scope [Solved]

I just started to get this error when verifying any of my apps:

‘WiFi’ was not declared in this scope

Where it worked fine yesterday, now none of my apps are working. Anyone know what changed?


The first thing I’d check is the Device setting, the icon with a circle and lines (target icon). Make sure you have a Photon with the gold star next to it; if it’s set to an Electron you’ll get that error since the Electron doesn’t have WiFi.


Yup, that was it.

1 Like

Thanks Rick for helping them out!