How to use WCF services in Windows 10 Universal App?

后端 未结 2 2026
旧巷少年郎
旧巷少年郎 2020-12-30 10:35

My Windows 8.1 app uses WCF services. I need to port my app to Windows 10 UWP app. But cannot add service reference. This message appears when I add a service reference:

2条回答
  •  清歌不尽
    2020-12-30 10:56

    I also have this problem. The workaround I used was that I created a Portable Class Library targeting only Windows Runtime and added the service reference into that and I referenced the PLC in the UWP app. Btw. I think this is a known bug...

提交回复
热议问题