Solution to "Unable to communicate with device USB:Netduino"

I was getting this error when deploying to Netduino Plus 2 from VS2013.

Unable to communicate with device USB:Netduino

It turns out that that particular Netduino had an old firmware version. Use the instructions here to make sure you have the latest firmware installed.