命名空间 'System.ServiceModel' 中不存在类型或命名空间名称 'ServiceHost'
The type or namespace name 'ServiceHost' does not exist in the namespace 'System.ServiceModel'
我正在尝试使用 Visual Studio 2015 在 Windows Iot (Raspberry Pi) 的应用程序中添加 wcf 服务。
因为我无法添加引用 'on the usual way'(VS 2015 未显示任何内容),我添加了对 System.ServiceModel.
的 nuget 引用
using (var host = new System.ServiceModel.ServiceHost (typeof(HelloWorldService), _baseAddress))
{
}
我怎样才能到达 ServiceHost? Resharper 对我也没有帮助
好的,我刚刚发现 Windows iot 还不支持 WCF。
我正在尝试使用 Visual Studio 2015 在 Windows Iot (Raspberry Pi) 的应用程序中添加 wcf 服务。
因为我无法添加引用 'on the usual way'(VS 2015 未显示任何内容),我添加了对 System.ServiceModel.
的 nuget 引用 using (var host = new System.ServiceModel.ServiceHost (typeof(HelloWorldService), _baseAddress))
{
}
我怎样才能到达 ServiceHost? Resharper 对我也没有帮助
好的,我刚刚发现 Windows iot 还不支持 WCF。