类型或命名空间名称' ServiceHost'名称空间中不存在System.ServiceModel'

时间:2015-07-30 07:58:06

标签: wcf visual-studio-2015 iot

我尝试使用Visual Studio 2015在Windows Iot(Raspberry Pi)的应用程序中添加wcf服务。

因为我无法按常规方式添加参考资料' (VS 2015没有显示任何内容),我添加了一个对System.ServiceModel的nuget引用。

        using (var host = new System.ServiceModel.ServiceHost (typeof(HelloWorldService), _baseAddress))
        {

        }

我如何联系ServiceHost? Resharper对我没有任何帮助

Nuget package list & Reference Manager

1 个答案:

答案 0 :(得分:0)

好的,我刚发现Windows iot还不支持WCF。

相关问题