无法添加对通用Windows应用程序的服务引用 [英] Unable to add service reference to Universal Windows App

查看:109
本文介绍了无法添加对通用Windows应用程序的服务引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向Windows 10通用Windows应用程序添加服务引用,我遇到了一些问题。我收到以下消息"数据服务客户端代码生成失败。指定的Windows Store Framework".NETCore,Version = v5.0"不支持
。仅支持.NETCore 4.5及更高版本。结果:我无法为我的W10通用应用程序添加服务引用。任何解决方法/解决方案? 

I am trying to add a service reference to a Windows 10 Universal Windows App and I am experiencing some issues. I get the following message "Data service client code-generation failed. Specified Windows Store Framework '.NETCore,Version=v5.0' is not supported. Only .NETCore 4.5 and above is supported.". Result: I am unable to add a service reference to my W10 universal app. Any workarounds/ solutions? 

我正在使用Visual Studio 2015:

I am using Visual Studio 2015:

推荐答案

我们如果要在UWP应用程序中添加服务引用,则需要使用WCF soap服务。

We need to use the WCF soap services if you want to add the services references in UWP app.


这篇关于无法添加对通用Windows应用程序的服务引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆