You might have some problems if you are using Device Profile for Web Services on the current version of NETMF.
Do the following to resolve the issue:
- Remove all DPWS references from your project.
- Download the assembly at this link:
http://ghielectronics.com/downloads/NETMF/DPWS_V_4_1_7706_0.zip - Add the downloaded assembly to your project. This one replaces:
MFDpwsClient
MFDpwsDevice
MFDpwsExtensions
MFWsStack