2014-02-28 69 views

回答

1

看這裏 - 看來,你需要添加一個引用到MFDpwsExtensions.dll

http://msdn.microsoft.com/en-us/library/dd170129.aspx

Right-click the References folder in your Visual Studio project. 
Choose Add Reference from the context menu 
In the Add Reference dialog, choose the .NET tab. 
Select MFWsStack.dll in the list, then click OK. 
Repeat steps 1 to 3, this time adding MFDpwsExtensions.dll. 
If your project is a for a device hosting a service, repeat steps 1 to 3, this time adding MFDpwsDevice.dll. 
If your project requires DPWS client functionality, repeat steps 1 to 3, this time adding MFDpwsClient.dll.