I have some code (configure Ethernet ENC28 module for DHCP and starting DPWS service) running in Debug mode in Visual Studio. It runs as expected, and I see announcement messages captured on the network. However, after deploying the application (right click in Solution Explorer and choosing “Deploy”) and reconnecting the USB cable, the code seems to no longer run (I don’t see messages appearing on the network, outside of IGMPv2 Membership, no DHCP, no SOAP for DPWS broadcast). I removed DHCP and set a static IP address, but to no avail. It seems
doesn’t do anything if running outside of the debugger.
Has anyone encountered this issue or am I doing something else wrong that anyone can point me at?